pub struct SmAccount {
pub id: u64,
pub name: Option<String>,
pub api_access_key: Option<String>,
}Expand description
An account (GET /accounts), trimmed to what the bootstrap needs.
Fields§
§id: u64§name: Option<String>§api_access_key: Option<String>The account-level CAPI access key (x-api-key), present once CAPI is enabled.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SmAccount
impl<'de> Deserialize<'de> for SmAccount
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
Auto Trait Implementations§
impl Freeze for SmAccount
impl RefUnwindSafe for SmAccount
impl Send for SmAccount
impl Sync for SmAccount
impl Unpin for SmAccount
impl UnsafeUnpin for SmAccount
impl UnwindSafe for SmAccount
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