pub enum OwnedLinkedChunkId {
Room(OwnedRoomId),
Thread(OwnedRoomId, OwnedEventId),
}
Expand description
An identifier for a linked chunk; owned variant.
Variants§
Room(OwnedRoomId)
Thread(OwnedRoomId, OwnedEventId)
Implementations§
Trait Implementations§
Source§impl Clone for OwnedLinkedChunkId
impl Clone for OwnedLinkedChunkId
Source§fn clone(&self) -> OwnedLinkedChunkId
fn clone(&self) -> OwnedLinkedChunkId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OwnedLinkedChunkId
impl Debug for OwnedLinkedChunkId
Source§impl<'de> Deserialize<'de> for OwnedLinkedChunkId
impl<'de> Deserialize<'de> for OwnedLinkedChunkId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OwnedLinkedChunkId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OwnedLinkedChunkId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OwnedLinkedChunkId
impl Display for OwnedLinkedChunkId
Source§impl<'a> From<&'a OwnedLinkedChunkId> for LinkedChunkId<'a>
impl<'a> From<&'a OwnedLinkedChunkId> for LinkedChunkId<'a>
Source§fn from(value: &'a OwnedLinkedChunkId) -> LinkedChunkId<'a>
fn from(value: &'a OwnedLinkedChunkId) -> LinkedChunkId<'a>
Converts to this type from the input type.
Source§impl From<LinkedChunkId<'_>> for OwnedLinkedChunkId
impl From<LinkedChunkId<'_>> for OwnedLinkedChunkId
Source§fn from(value: LinkedChunkId<'_>) -> OwnedLinkedChunkId
fn from(value: LinkedChunkId<'_>) -> OwnedLinkedChunkId
Converts to this type from the input type.
Source§impl Hash for OwnedLinkedChunkId
impl Hash for OwnedLinkedChunkId
Source§impl PartialEq<&OwnedLinkedChunkId> for LinkedChunkId<'_>
impl PartialEq<&OwnedLinkedChunkId> for LinkedChunkId<'_>
Source§impl PartialEq<LinkedChunkId<'_>> for OwnedLinkedChunkId
impl PartialEq<LinkedChunkId<'_>> for OwnedLinkedChunkId
Source§impl PartialEq for OwnedLinkedChunkId
impl PartialEq for OwnedLinkedChunkId
Source§impl Serialize for OwnedLinkedChunkId
impl Serialize for OwnedLinkedChunkId
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
impl Eq for OwnedLinkedChunkId
impl StructuralPartialEq for OwnedLinkedChunkId
Auto Trait Implementations§
impl Freeze for OwnedLinkedChunkId
impl RefUnwindSafe for OwnedLinkedChunkId
impl Send for OwnedLinkedChunkId
impl Sync for OwnedLinkedChunkId
impl Unpin for OwnedLinkedChunkId
impl UnwindSafe for OwnedLinkedChunkId
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,
§impl<T> CompatExt for T
impl<T> CompatExt for T
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.Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more