pub struct OwnedSpaceChildOrder { /* private fields */ }Expand description
Owned variant of SpaceChildOrder
§Inner representation
By default, this type uses a Box<str> internally. The inner representation can be selected at
compile time by using one of the following supported values:
Arc– Use anArc<str>.
The selected value can be set by using the ruma_identifiers_storage compile-time cfg setting.
This setting can be configured using the RUSTFLAGS environment variable at build time, like this:
RUSTFLAGS="--cfg ruma_identifiers_storage=\"{value}\""Or in .cargo/config.toml:
# General setting for all targets, overridden by per-target `rustflags` setting if set.
[build]
rustflags = ["--cfg", "ruma_identifiers_storage=\"{value}\""]
# Per-target setting.
[target.<triple/cfg>]
rustflags = ["--cfg", "ruma_identifiers_storage=\"{value}\""]This setting can also be configured using the RUMA_IDENTIFIERS_STORAGE environment variable at
compile time, which has the benefit of not requiring to re-compile the whole dependency chain
when the value is changed, like this:
RUMA_IDENTIFIERS_STORAGE="{value}"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§impl Debug for OwnedSpaceChildOrder
impl Debug for OwnedSpaceChildOrder
Source§impl Deref for OwnedSpaceChildOrder
impl Deref for OwnedSpaceChildOrder
Source§impl<'de> Deserialize<'de> for OwnedSpaceChildOrder
impl<'de> Deserialize<'de> for OwnedSpaceChildOrder
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::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) -> Self
fn from(id: &SpaceChildOrder) -> Self
Converts to this type from the input type.
Source§impl From<OwnedSpaceChildOrder> for Box<str>
impl From<OwnedSpaceChildOrder> for Box<str>
Source§fn from(id: OwnedSpaceChildOrder) -> Self
fn from(id: OwnedSpaceChildOrder) -> Self
Converts to this type from the input type.
Source§impl From<OwnedSpaceChildOrder> for String
impl From<OwnedSpaceChildOrder> for String
Source§fn from(id: OwnedSpaceChildOrder) -> Self
fn from(id: OwnedSpaceChildOrder) -> Self
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§impl PartialEq<&SpaceChildOrder> for OwnedSpaceChildOrder
impl PartialEq<&SpaceChildOrder> for OwnedSpaceChildOrder
Source§impl PartialEq<&str> for OwnedSpaceChildOrder
impl PartialEq<&str> 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 String
impl PartialEq<OwnedSpaceChildOrder> for String
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§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.