pub struct LanAgentBootstrapTokenResponse {
pub bootstrap_key: String,
pub expires_in: i64,
}Expand description
LanAgentBootstrapTokenResponse
JSON schema
{
"type": "object",
"required": [
"bootstrap_key",
"expires_in"
],
"properties": {
"bootstrap_key": {
"description": "ULID for `GET /lan-agent/cli/bootstrap.sh?key=…`.",
"type": "string"
},
"expires_in": {
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§bootstrap_key: StringULID for GET /lan-agent/cli/bootstrap.sh?key=….
expires_in: i64Trait Implementations§
Source§impl Clone for LanAgentBootstrapTokenResponse
impl Clone for LanAgentBootstrapTokenResponse
Source§fn clone(&self) -> LanAgentBootstrapTokenResponse
fn clone(&self) -> LanAgentBootstrapTokenResponse
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<'de> Deserialize<'de> for LanAgentBootstrapTokenResponse
impl<'de> Deserialize<'de> for LanAgentBootstrapTokenResponse
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 LanAgentBootstrapTokenResponse
impl RefUnwindSafe for LanAgentBootstrapTokenResponse
impl Send for LanAgentBootstrapTokenResponse
impl Sync for LanAgentBootstrapTokenResponse
impl Unpin for LanAgentBootstrapTokenResponse
impl UnsafeUnpin for LanAgentBootstrapTokenResponse
impl UnwindSafe for LanAgentBootstrapTokenResponse
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