pub struct TailnetOAuthClient {
pub id: Option<String>,
pub secret: Option<Secret>,
pub unknown: Unknown,
}Expand description
An OAuth client scoped to a newly created tailnet, so that the caller has a credential for it without a second round trip.
Fields§
§id: Option<String>§secret: Option<Secret>Sent once, in the answer that created the tailnet.
unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for TailnetOAuthClient
impl Clone for TailnetOAuthClient
Source§fn clone(&self) -> TailnetOAuthClient
fn clone(&self) -> TailnetOAuthClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TailnetOAuthClient
impl Debug for TailnetOAuthClient
Source§impl<'de> Deserialize<'de> for TailnetOAuthClient
impl<'de> Deserialize<'de> for TailnetOAuthClient
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 TailnetOAuthClient
impl PartialEq for TailnetOAuthClient
Source§impl Serialize for TailnetOAuthClient
impl Serialize for TailnetOAuthClient
impl StructuralPartialEq for TailnetOAuthClient
Auto Trait Implementations§
impl Freeze for TailnetOAuthClient
impl RefUnwindSafe for TailnetOAuthClient
impl Send for TailnetOAuthClient
impl Sync for TailnetOAuthClient
impl Unpin for TailnetOAuthClient
impl UnsafeUnpin for TailnetOAuthClient
impl UnwindSafe for TailnetOAuthClient
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