pub struct CreateAuthKeyRequest {
pub description: Option<String>,
pub expirySeconds: Option<u64>,
pub capabilities: Capabilities,
}
Expand description
Request body for creating an auth key. Adjust fields as needed based on Tailscale’s docs.
Fields§
§description: Option<String>
§expirySeconds: Option<u64>
§capabilities: Capabilities
Trait Implementations§
Source§impl Debug for CreateAuthKeyRequest
impl Debug for CreateAuthKeyRequest
Auto Trait Implementations§
impl Freeze for CreateAuthKeyRequest
impl RefUnwindSafe for CreateAuthKeyRequest
impl Send for CreateAuthKeyRequest
impl Sync for CreateAuthKeyRequest
impl Unpin for CreateAuthKeyRequest
impl UnwindSafe for CreateAuthKeyRequest
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