pub struct OwnedSpaceChildOrder { /* private fields */ }
Expand description
Owned variant of SpaceChildOrder
The wrapper type for this type is variable, by default it’ll use Box
,
but you can change that by setting “--cfg=ruma_identifiers_storage=...
” using
RUSTFLAGS
or .cargo/config.toml
(under [build]
-> rustflags = ["..."]
)
to the following;
ruma_identifiers_storage="Arc"
to useArc
as a wrapper type.
Methods from Deref<Target = SpaceChildOrder>§
Trait Implementations§
Source§impl AsRef<[u8]> for OwnedSpaceChildOrder
impl AsRef<[u8]> for OwnedSpaceChildOrder
Source§impl AsRef<SpaceChildOrder> for OwnedSpaceChildOrder
impl AsRef<SpaceChildOrder> for OwnedSpaceChildOrder
Source§fn as_ref(&self) -> &SpaceChildOrder
fn as_ref(&self) -> &SpaceChildOrder
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for OwnedSpaceChildOrder
impl AsRef<str> for OwnedSpaceChildOrder
Source§impl Borrow<SpaceChildOrder> for OwnedSpaceChildOrder
impl Borrow<SpaceChildOrder> for OwnedSpaceChildOrder
Source§fn borrow(&self) -> &SpaceChildOrder
fn borrow(&self) -> &SpaceChildOrder
Immutably borrows from an owned value. Read more
Source§impl Clone for OwnedSpaceChildOrder
impl Clone for OwnedSpaceChildOrder
Source§fn clone(&self) -> OwnedSpaceChildOrder
fn clone(&self) -> OwnedSpaceChildOrder
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OwnedSpaceChildOrder
impl Debug for OwnedSpaceChildOrder
Source§impl Deref for OwnedSpaceChildOrder
impl Deref for OwnedSpaceChildOrder
Source§type Target = SpaceChildOrder
type Target = SpaceChildOrder
The resulting type after dereferencing.
Source§impl<'de> Deserialize<'de> for OwnedSpaceChildOrder
impl<'de> Deserialize<'de> for OwnedSpaceChildOrder
Source§fn deserialize<D>(
deserializer: D,
) -> Result<OwnedSpaceChildOrder, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<OwnedSpaceChildOrder, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OwnedSpaceChildOrder
impl Display for OwnedSpaceChildOrder
Source§impl From<&SpaceChildOrder> for OwnedSpaceChildOrder
impl From<&SpaceChildOrder> for OwnedSpaceChildOrder
Source§fn from(id: &SpaceChildOrder) -> OwnedSpaceChildOrder
fn from(id: &SpaceChildOrder) -> OwnedSpaceChildOrder
Converts to this type from the input type.
Source§impl From<Arc<SpaceChildOrder>> for OwnedSpaceChildOrder
impl From<Arc<SpaceChildOrder>> for OwnedSpaceChildOrder
Source§fn from(a: Arc<SpaceChildOrder>) -> OwnedSpaceChildOrder
fn from(a: Arc<SpaceChildOrder>) -> OwnedSpaceChildOrder
Converts to this type from the input type.
Source§impl From<Box<SpaceChildOrder>> for OwnedSpaceChildOrder
impl From<Box<SpaceChildOrder>> for OwnedSpaceChildOrder
Source§fn from(b: Box<SpaceChildOrder>) -> OwnedSpaceChildOrder
fn from(b: Box<SpaceChildOrder>) -> OwnedSpaceChildOrder
Converts to this type from the input type.
Source§impl From<OwnedSpaceChildOrder> for Arc<SpaceChildOrder>
impl From<OwnedSpaceChildOrder> for Arc<SpaceChildOrder>
Source§fn from(a: OwnedSpaceChildOrder) -> Arc<SpaceChildOrder>
fn from(a: OwnedSpaceChildOrder) -> Arc<SpaceChildOrder>
Converts to this type from the input type.
Source§impl From<OwnedSpaceChildOrder> for Box<SpaceChildOrder>
impl From<OwnedSpaceChildOrder> for Box<SpaceChildOrder>
Source§fn from(a: OwnedSpaceChildOrder) -> Box<SpaceChildOrder>
fn from(a: OwnedSpaceChildOrder) -> Box<SpaceChildOrder>
Converts to this type from the input type.
Source§impl From<OwnedSpaceChildOrder> for String
impl From<OwnedSpaceChildOrder> for String
Source§fn from(id: OwnedSpaceChildOrder) -> String
fn from(id: OwnedSpaceChildOrder) -> String
Converts to this type from the input type.
Source§impl FromStr for OwnedSpaceChildOrder
impl FromStr for OwnedSpaceChildOrder
Source§impl Hash for OwnedSpaceChildOrder
impl Hash for OwnedSpaceChildOrder
Source§impl Ord for OwnedSpaceChildOrder
impl Ord for OwnedSpaceChildOrder
Source§fn cmp(&self, other: &OwnedSpaceChildOrder) -> Ordering
fn cmp(&self, other: &OwnedSpaceChildOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<&SpaceChildOrder> for OwnedSpaceChildOrder
impl PartialEq<&SpaceChildOrder> for OwnedSpaceChildOrder
Source§impl PartialEq<&str> for OwnedSpaceChildOrder
impl PartialEq<&str> for OwnedSpaceChildOrder
Source§impl PartialEq<Arc<SpaceChildOrder>> for OwnedSpaceChildOrder
impl PartialEq<Arc<SpaceChildOrder>> for OwnedSpaceChildOrder
Source§impl PartialEq<Box<SpaceChildOrder>> for OwnedSpaceChildOrder
impl PartialEq<Box<SpaceChildOrder>> for OwnedSpaceChildOrder
Source§impl PartialEq<OwnedSpaceChildOrder> for &SpaceChildOrder
impl PartialEq<OwnedSpaceChildOrder> for &SpaceChildOrder
Source§impl PartialEq<OwnedSpaceChildOrder> for &str
impl PartialEq<OwnedSpaceChildOrder> for &str
Source§impl PartialEq<OwnedSpaceChildOrder> for str
impl PartialEq<OwnedSpaceChildOrder> for str
Source§impl PartialEq<String> for OwnedSpaceChildOrder
impl PartialEq<String> for OwnedSpaceChildOrder
Source§impl PartialEq<str> for OwnedSpaceChildOrder
impl PartialEq<str> for OwnedSpaceChildOrder
Source§impl PartialEq for OwnedSpaceChildOrder
impl PartialEq for OwnedSpaceChildOrder
Source§impl PartialOrd for OwnedSpaceChildOrder
impl PartialOrd for OwnedSpaceChildOrder
Source§impl Serialize for OwnedSpaceChildOrder
impl Serialize for OwnedSpaceChildOrder
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&str> for OwnedSpaceChildOrder
impl TryFrom<&str> for OwnedSpaceChildOrder
Source§impl TryFrom<String> for OwnedSpaceChildOrder
impl TryFrom<String> for OwnedSpaceChildOrder
impl Eq for OwnedSpaceChildOrder
Auto Trait Implementations§
impl Freeze for OwnedSpaceChildOrder
impl RefUnwindSafe for OwnedSpaceChildOrder
impl Send for OwnedSpaceChildOrder
impl Sync for OwnedSpaceChildOrder
impl Unpin for OwnedSpaceChildOrder
impl UnwindSafe for OwnedSpaceChildOrder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.