pub struct OneTimeToken {
pub modify_index: u64,
pub one_time_secret_id: String,
pub accessor_id: String,
pub expires_at: DateTime<Utc>,
pub create_index: u64,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§modify_index: u64
§one_time_secret_id: String
§accessor_id: String
§expires_at: DateTime<Utc>
§create_index: u64
Implementations§
Source§impl OneTimeToken
impl OneTimeToken
pub fn builder() -> OneTimeTokenBuilder
Trait Implementations§
Source§impl Clone for OneTimeToken
impl Clone for OneTimeToken
Source§fn clone(&self) -> OneTimeToken
fn clone(&self) -> OneTimeToken
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 Debug for OneTimeToken
impl Debug for OneTimeToken
Source§impl<'de> Deserialize<'de> for OneTimeToken
impl<'de> Deserialize<'de> for OneTimeToken
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 OneTimeToken
impl PartialEq for OneTimeToken
Source§impl Serialize for OneTimeToken
impl Serialize for OneTimeToken
impl StructuralPartialEq for OneTimeToken
Auto Trait Implementations§
impl Freeze for OneTimeToken
impl RefUnwindSafe for OneTimeToken
impl Send for OneTimeToken
impl Sync for OneTimeToken
impl Unpin for OneTimeToken
impl UnwindSafe for OneTimeToken
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