Struct ruma_appservice_api::Namespaces [−][src]
pub struct Namespaces { pub users: Vec<Namespace>, pub aliases: Vec<Namespace>, pub rooms: Vec<Namespace>, }
Expand description
Namespaces defined by an application service.
Used for appservice registration.
Fields
users: Vec<Namespace>
Events which are sent from certain users.
aliases: Vec<Namespace>
Events which are sent in rooms with certain room aliases.
rooms: Vec<Namespace>
Events which are sent in rooms with certain room IDs.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for Namespaces
impl Send for Namespaces
impl Sync for Namespaces
impl Unpin for Namespaces
impl UnwindSafe for Namespaces
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more