pub struct CoolAuthIdentity {
pub fields: BTreeMap<String, Value>,
}Fields§
§fields: BTreeMap<String, Value>Implementations§
Source§impl CoolAuthIdentity
impl CoolAuthIdentity
pub fn from_principal<P: Serialize>(principal: P) -> Result<Self, CoolError>
Trait Implementations§
Source§impl Clone for CoolAuthIdentity
impl Clone for CoolAuthIdentity
Source§fn clone(&self) -> CoolAuthIdentity
fn clone(&self) -> CoolAuthIdentity
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 CoolAuthIdentity
impl Debug for CoolAuthIdentity
Source§impl Default for CoolAuthIdentity
impl Default for CoolAuthIdentity
Source§fn default() -> CoolAuthIdentity
fn default() -> CoolAuthIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoolAuthIdentity
impl<'de> Deserialize<'de> for CoolAuthIdentity
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 CoolAuthIdentity
impl PartialEq for CoolAuthIdentity
Source§impl Serialize for CoolAuthIdentity
impl Serialize for CoolAuthIdentity
impl StructuralPartialEq for CoolAuthIdentity
Auto Trait Implementations§
impl Freeze for CoolAuthIdentity
impl RefUnwindSafe for CoolAuthIdentity
impl Send for CoolAuthIdentity
impl Sync for CoolAuthIdentity
impl Unpin for CoolAuthIdentity
impl UnsafeUnpin for CoolAuthIdentity
impl UnwindSafe for CoolAuthIdentity
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