Struct ruma_appservice_api::Namespace
source · Expand description
A namespace defined by an application service.
Used for appservice registration.
Fields§
§exclusive: bool
Whether this application service has exclusive access to events within this namespace.
regex: String
A regular expression defining which values this namespace includes.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Namespace
impl<'de> Deserialize<'de> for Namespace
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