pub struct EndpointToken {
pub id: String,
pub token: String,
}Expand description
Authentication token configured on an endpoint.
Fields§
§id: StringToken identifier.
token: StringToken secret.
Trait Implementations§
Source§impl Clone for EndpointToken
impl Clone for EndpointToken
Source§fn clone(&self) -> EndpointToken
fn clone(&self) -> EndpointToken
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 EndpointToken
impl Debug for EndpointToken
Source§impl<'de> Deserialize<'de> for EndpointToken
impl<'de> Deserialize<'de> for EndpointToken
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 EndpointToken
impl RefUnwindSafe for EndpointToken
impl Send for EndpointToken
impl Sync for EndpointToken
impl Unpin for EndpointToken
impl UnsafeUnpin for EndpointToken
impl UnwindSafe for EndpointToken
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