pub enum ExecuteReference {
Index(IndexKey),
Model(OwnedEventId),
Room(OwnedRoomId),
RoomAccountData(OwnedRoomId, Cow<'static, str>),
ModelParam(OwnedEventId, ModelParam),
RoomParam(OwnedRoomId, RoomParam),
AccountData(Cow<'static, str>),
ModelType(Cow<'static, str>),
}
Variants§
Index(IndexKey)
Model(OwnedEventId)
Room(OwnedRoomId)
RoomAccountData(OwnedRoomId, Cow<'static, str>)
ModelParam(OwnedEventId, ModelParam)
RoomParam(OwnedRoomId, RoomParam)
AccountData(Cow<'static, str>)
ModelType(Cow<'static, str>)
Implementations§
Source§impl ExecuteReference
impl ExecuteReference
pub fn as_storage_key(&self) -> String
Trait Implementations§
Source§impl Clone for ExecuteReference
impl Clone for ExecuteReference
Source§fn clone(&self) -> ExecuteReference
fn clone(&self) -> ExecuteReference
Returns a copy 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 ExecuteReference
impl Debug for ExecuteReference
Source§impl<'de> Deserialize<'de> for ExecuteReference
impl<'de> Deserialize<'de> for ExecuteReference
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 From<&EventId> for ExecuteReference
impl From<&EventId> for ExecuteReference
Source§impl From<&RoomId> for ExecuteReference
impl From<&RoomId> for ExecuteReference
Source§impl From<&'static str> for ExecuteReference
impl From<&'static str> for ExecuteReference
Source§impl From<IndexKey> for ExecuteReference
impl From<IndexKey> for ExecuteReference
Source§impl From<OwnedEventId> for ExecuteReference
impl From<OwnedEventId> for ExecuteReference
Source§fn from(value: OwnedEventId) -> Self
fn from(value: OwnedEventId) -> Self
Converts to this type from the input type.
Source§impl From<OwnedRoomId> for ExecuteReference
impl From<OwnedRoomId> for ExecuteReference
Source§fn from(value: OwnedRoomId) -> Self
fn from(value: OwnedRoomId) -> Self
Converts to this type from the input type.
Source§impl From<SectionIndex> for ExecuteReference
impl From<SectionIndex> for ExecuteReference
Source§fn from(value: SectionIndex) -> Self
fn from(value: SectionIndex) -> Self
Converts to this type from the input type.
Source§impl Hash for ExecuteReference
impl Hash for ExecuteReference
Source§impl Ord for ExecuteReference
impl Ord for ExecuteReference
Source§fn cmp(&self, other: &ExecuteReference) -> Ordering
fn cmp(&self, other: &ExecuteReference) -> 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 for ExecuteReference
impl PartialEq for ExecuteReference
Source§impl PartialOrd for ExecuteReference
impl PartialOrd for ExecuteReference
Source§impl Serialize for ExecuteReference
impl Serialize for ExecuteReference
impl Eq for ExecuteReference
impl StructuralPartialEq for ExecuteReference
Auto Trait Implementations§
impl Freeze for ExecuteReference
impl RefUnwindSafe for ExecuteReference
impl Send for ExecuteReference
impl Sync for ExecuteReference
impl Unpin for ExecuteReference
impl UnwindSafe for ExecuteReference
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> 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.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
Compares
self
to key
and returns true
if they are equal.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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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