pub struct NamespaceAlias {
pub id: i32,
pub alias: String,
}
Expand description
Represents a namespace alias object in the namespacealiases
field of a SiteInfo
.
Supports formatversion=1
with the alias in the "*"
field,
and formatversion=2
with the alias in the "alias"
field.
Fields§
§id: i32
§alias: String
Trait Implementations§
Source§impl Clone for NamespaceAlias
impl Clone for NamespaceAlias
Source§fn clone(&self) -> NamespaceAlias
fn clone(&self) -> NamespaceAlias
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 NamespaceAlias
impl Debug for NamespaceAlias
Source§impl<'de> Deserialize<'de> for NamespaceAlias
impl<'de> Deserialize<'de> for NamespaceAlias
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 NamespaceAlias
impl PartialEq for NamespaceAlias
impl Eq for NamespaceAlias
impl StructuralPartialEq for NamespaceAlias
Auto Trait Implementations§
impl Freeze for NamespaceAlias
impl RefUnwindSafe for NamespaceAlias
impl Send for NamespaceAlias
impl Sync for NamespaceAlias
impl Unpin for NamespaceAlias
impl UnwindSafe for NamespaceAlias
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