pub struct LanAgentBootstrapTokenRequest {
pub api_base_url: String,
pub device_id: Option<String>,
pub integration_id: Option<String>,
pub task_id: String,
}Expand description
LanAgentBootstrapTokenRequest
JSON schema
{
"type": "object",
"required": [
"api_base_url",
"task_id"
],
"properties": {
"api_base_url": {
"description": "Browser-visible API base (e.g. `https://app.example.com/api/v1`).",
"type": "string"
},
"device_id": {
"type": [
"string",
"null"
]
},
"integration_id": {
"description": "Required for one-shot Waveshare tasks; omit for `serve`.",
"type": [
"string",
"null"
]
},
"task_id": {
"type": "string"
}
}
}Fields§
§api_base_url: StringBrowser-visible API base (e.g. https://app.example.com/api/v1).
device_id: Option<String>§integration_id: Option<String>Required for one-shot Waveshare tasks; omit for serve.
task_id: StringTrait Implementations§
Source§impl Clone for LanAgentBootstrapTokenRequest
impl Clone for LanAgentBootstrapTokenRequest
Source§fn clone(&self) -> LanAgentBootstrapTokenRequest
fn clone(&self) -> LanAgentBootstrapTokenRequest
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 LanAgentBootstrapTokenRequest
impl<'de> Deserialize<'de> for LanAgentBootstrapTokenRequest
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 LanAgentBootstrapTokenRequest
impl RefUnwindSafe for LanAgentBootstrapTokenRequest
impl Send for LanAgentBootstrapTokenRequest
impl Sync for LanAgentBootstrapTokenRequest
impl Unpin for LanAgentBootstrapTokenRequest
impl UnsafeUnpin for LanAgentBootstrapTokenRequest
impl UnwindSafe for LanAgentBootstrapTokenRequest
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