pub struct AccountDocument {
pub doc: K2Document,
pub meta: Option<Value>,
pub memberships: Option<Vec<Membership>>,
pub roles: Option<Vec<String>>,
pub licenses: Option<BTreeMap<String, LicensePayload>>,
}Fields§
§doc: K2Document§meta: Option<Value>§memberships: Option<Vec<Membership>>§roles: Option<Vec<String>>§licenses: Option<BTreeMap<String, LicensePayload>>Trait Implementations§
Source§impl Clone for AccountDocument
impl Clone for AccountDocument
Source§fn clone(&self) -> AccountDocument
fn clone(&self) -> AccountDocument
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 AccountDocument
impl Debug for AccountDocument
Source§impl Default for AccountDocument
impl Default for AccountDocument
Source§fn default() -> AccountDocument
fn default() -> AccountDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountDocument
impl<'de> Deserialize<'de> for AccountDocument
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 AccountDocument
impl PartialEq for AccountDocument
Source§impl Serialize for AccountDocument
impl Serialize for AccountDocument
impl StructuralPartialEq for AccountDocument
Auto Trait Implementations§
impl Freeze for AccountDocument
impl RefUnwindSafe for AccountDocument
impl Send for AccountDocument
impl Sync for AccountDocument
impl Unpin for AccountDocument
impl UnsafeUnpin for AccountDocument
impl UnwindSafe for AccountDocument
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