pub struct SimplifiedNamespace {
pub identifier: u32,
pub name: Option<String>,
}Expand description
Simplified namespace (used in Realtime API).
Realtime API uses minimal namespace representation.
Fields§
§identifier: u32Namespace ID
name: Option<String>Namespace name
Trait Implementations§
Source§impl Clone for SimplifiedNamespace
impl Clone for SimplifiedNamespace
Source§fn clone(&self) -> SimplifiedNamespace
fn clone(&self) -> SimplifiedNamespace
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 SimplifiedNamespace
impl Debug for SimplifiedNamespace
Source§impl<'de> Deserialize<'de> for SimplifiedNamespace
impl<'de> Deserialize<'de> for SimplifiedNamespace
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 PartialEq for SimplifiedNamespace
impl PartialEq for SimplifiedNamespace
Source§impl Serialize for SimplifiedNamespace
impl Serialize for SimplifiedNamespace
impl StructuralPartialEq for SimplifiedNamespace
Auto Trait Implementations§
impl Freeze for SimplifiedNamespace
impl RefUnwindSafe for SimplifiedNamespace
impl Send for SimplifiedNamespace
impl Sync for SimplifiedNamespace
impl Unpin for SimplifiedNamespace
impl UnsafeUnpin for SimplifiedNamespace
impl UnwindSafe for SimplifiedNamespace
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