pub struct TrustedUser(/* private fields */);Expand description
Reserved for future use.
Implementations§
Source§impl TrustedUser
impl TrustedUser
Sourcepub const fn new() -> TrustedUser
pub const fn new() -> TrustedUser
Creates a new TrustedUser.
Sourcepub const fn create(val: bool) -> TrustedUser
pub const fn create(val: bool) -> TrustedUser
Creates a new TrustedUser from the provided parameter.
Sourcepub fn into_inner(self) -> bool
pub fn into_inner(self) -> bool
Converts into the inner representation of TrustedUser.
Trait Implementations§
Source§impl Clone for TrustedUser
impl Clone for TrustedUser
Source§fn clone(&self) -> TrustedUser
fn clone(&self) -> TrustedUser
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 TrustedUser
impl Debug for TrustedUser
Source§impl Default for TrustedUser
impl Default for TrustedUser
Source§fn default() -> TrustedUser
fn default() -> TrustedUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrustedUser
impl<'de> Deserialize<'de> for TrustedUser
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrustedUser, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrustedUser, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TrustedUser
impl Display for TrustedUser
Source§impl From<&TrustedUser> for XfsMember
impl From<&TrustedUser> for XfsMember
Source§fn from(val: &TrustedUser) -> XfsMember
fn from(val: &TrustedUser) -> XfsMember
Converts to this type from the input type.
Source§impl From<&TrustedUser> for XfsValue
impl From<&TrustedUser> for XfsValue
Source§fn from(val: &TrustedUser) -> XfsValue
fn from(val: &TrustedUser) -> XfsValue
Converts to this type from the input type.
Source§impl From<&bool> for TrustedUser
impl From<&bool> for TrustedUser
Source§fn from(val: &bool) -> TrustedUser
fn from(val: &bool) -> TrustedUser
Converts to this type from the input type.
Source§impl From<&u8> for TrustedUser
impl From<&u8> for TrustedUser
Source§fn from(val: &u8) -> TrustedUser
fn from(val: &u8) -> TrustedUser
Converts to this type from the input type.
Source§impl From<TrustedUser> for XfsMember
impl From<TrustedUser> for XfsMember
Source§fn from(val: TrustedUser) -> XfsMember
fn from(val: TrustedUser) -> XfsMember
Converts to this type from the input type.
Source§impl From<TrustedUser> for XfsValue
impl From<TrustedUser> for XfsValue
Source§fn from(val: TrustedUser) -> XfsValue
fn from(val: TrustedUser) -> XfsValue
Converts to this type from the input type.
Source§impl From<bool> for TrustedUser
impl From<bool> for TrustedUser
Source§fn from(val: bool) -> TrustedUser
fn from(val: bool) -> TrustedUser
Converts to this type from the input type.
Source§impl From<u8> for TrustedUser
impl From<u8> for TrustedUser
Source§fn from(val: u8) -> TrustedUser
fn from(val: u8) -> TrustedUser
Converts to this type from the input type.
Source§impl PartialEq for TrustedUser
impl PartialEq for TrustedUser
Source§impl Serialize for TrustedUser
impl Serialize for TrustedUser
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for TrustedUser
impl TryFrom<&XfsMember> for TrustedUser
Source§impl TryFrom<&XfsValue> for TrustedUser
impl TryFrom<&XfsValue> for TrustedUser
Source§impl TryFrom<XfsMember> for TrustedUser
impl TryFrom<XfsMember> for TrustedUser
Source§impl TryFrom<XfsValue> for TrustedUser
impl TryFrom<XfsValue> for TrustedUser
impl Copy for TrustedUser
impl StructuralPartialEq for TrustedUser
Auto Trait Implementations§
impl Freeze for TrustedUser
impl RefUnwindSafe for TrustedUser
impl Send for TrustedUser
impl Sync for TrustedUser
impl Unpin for TrustedUser
impl UnwindSafe for TrustedUser
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