pub struct ApiKey {
pub id: String,
pub balance: f64,
pub services: Vec<String>,
pub name: Option<String>,
}Fields§
§id: String§balance: f64§services: Vec<String>§name: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiKey
impl<'de> Deserialize<'de> for ApiKey
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 Forget for ApiKey
impl Freeze for ApiKey
impl Move for ApiKey
impl RefUnwindSafe for ApiKey
impl Send for ApiKeywhere
RawVecInner: Send,
impl Sync for ApiKeywhere
RawVecInner: Sync,
impl Unpin for ApiKey
impl UnsafeUnpin for ApiKeywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ApiKeywhere
RawVecInner: UnwindSafe,
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