pub struct Permission {
pub status: Status,
}Expand description
Contains details of the client’s level of access to the user’s account.
Fields§
§status: StatusThe actual permission status.
Trait Implementations§
Source§impl AsXml for Permission
impl AsXml for Permission
Source§impl Clone for Permission
impl Clone for Permission
Source§fn clone(&self) -> Permission
fn clone(&self) -> Permission
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 Permission
impl Debug for Permission
Source§impl From<&Permission> for Element
impl From<&Permission> for Element
Source§fn from(other: &Permission) -> Self
fn from(other: &Permission) -> Self
Converts to this type from the input type.
Source§impl From<Permission> for Element
impl From<Permission> for Element
Source§fn from(other: Permission) -> Self
fn from(other: Permission) -> Self
Converts to this type from the input type.
Source§impl FromXml for Permission
impl FromXml for Permission
Source§type Builder = PermissionFromXmlBuilder
type Builder = PermissionFromXmlBuilder
A builder type used to construct the element. Read more
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self may be parsed from
a given XML element. Read moreSource§impl PartialEq for Permission
impl PartialEq for Permission
Source§impl TryFrom<Element> for Permission
impl TryFrom<Element> for Permission
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Permission
Auto Trait Implementations§
impl Freeze for Permission
impl RefUnwindSafe for Permission
impl Send for Permission
impl Sync for Permission
impl Unpin for Permission
impl UnwindSafe for Permission
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