pub struct AccessTokenCreateRequestModel {
pub name: String,
pub encrypted_payload: String,
pub key: String,
pub expire_at: Option<String>,
}
Fields§
§name: String
§encrypted_payload: String
§key: String
§expire_at: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for AccessTokenCreateRequestModel
impl Clone for AccessTokenCreateRequestModel
Source§fn clone(&self) -> AccessTokenCreateRequestModel
fn clone(&self) -> AccessTokenCreateRequestModel
Returns a copy 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 Default for AccessTokenCreateRequestModel
impl Default for AccessTokenCreateRequestModel
Source§fn default() -> AccessTokenCreateRequestModel
fn default() -> AccessTokenCreateRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessTokenCreateRequestModel
impl<'de> Deserialize<'de> for AccessTokenCreateRequestModel
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 AccessTokenCreateRequestModel
impl PartialEq for AccessTokenCreateRequestModel
Source§fn eq(&self, other: &AccessTokenCreateRequestModel) -> bool
fn eq(&self, other: &AccessTokenCreateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AccessTokenCreateRequestModel
Auto Trait Implementations§
impl Freeze for AccessTokenCreateRequestModel
impl RefUnwindSafe for AccessTokenCreateRequestModel
impl Send for AccessTokenCreateRequestModel
impl Sync for AccessTokenCreateRequestModel
impl Unpin for AccessTokenCreateRequestModel
impl UnwindSafe for AccessTokenCreateRequestModel
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