Enum ruma::api::client::r0::sync::sync_events::IncomingFilter [−][src]
pub enum IncomingFilter {
FilterDefinition(IncomingFilterDefinition),
FilterId(String),
}
This is supported on crate feature
api
and (crate features client-api
or client-api-c
or client-api-s
) only.Expand description
‘Incoming’ variant of Filter.
Variants
FilterDefinition(IncomingFilterDefinition)
A complete filter definition serialized to JSON.
FilterId(String)
The ID of a filter saved on the server.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingFilter, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingFilter, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IncomingFilter
impl Send for IncomingFilter
impl Sync for IncomingFilter
impl Unpin for IncomingFilter
impl UnwindSafe for IncomingFilter
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more