pub struct AgentTokenResponse {
pub token: String,
pub expires_in: Option<i32>,
}Expand description
AgentTokenResponse : Base serializer class which doesn’t implement create/update methods
Fields§
§token: String§expires_in: Option<i32>Implementations§
Source§impl AgentTokenResponse
impl AgentTokenResponse
Sourcepub fn new(token: String) -> AgentTokenResponse
pub fn new(token: String) -> AgentTokenResponse
Base serializer class which doesn’t implement create/update methods
Trait Implementations§
Source§impl Clone for AgentTokenResponse
impl Clone for AgentTokenResponse
Source§fn clone(&self) -> AgentTokenResponse
fn clone(&self) -> AgentTokenResponse
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 AgentTokenResponse
impl Debug for AgentTokenResponse
Source§impl Default for AgentTokenResponse
impl Default for AgentTokenResponse
Source§fn default() -> AgentTokenResponse
fn default() -> AgentTokenResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentTokenResponse
impl<'de> Deserialize<'de> for AgentTokenResponse
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 AgentTokenResponse
impl PartialEq for AgentTokenResponse
Source§impl Serialize for AgentTokenResponse
impl Serialize for AgentTokenResponse
impl StructuralPartialEq for AgentTokenResponse
Auto Trait Implementations§
impl Freeze for AgentTokenResponse
impl RefUnwindSafe for AgentTokenResponse
impl Send for AgentTokenResponse
impl Sync for AgentTokenResponse
impl Unpin for AgentTokenResponse
impl UnsafeUnpin for AgentTokenResponse
impl UnwindSafe for AgentTokenResponse
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