pub struct LanAgentMetaResponse {
pub lan_protocol_version: i32,
pub latest_agent_version: Option<String>,
pub min_supported_agent_version: Option<String>,
pub tasks_catalog: Value,
pub upgrade_download_url: Option<String>,
}Expand description
LanAgentMetaResponse
JSON schema
{
"type": "object",
"required": [
"lan_protocol_version",
"tasks_catalog"
],
"properties": {
"lan_protocol_version": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"latest_agent_version": {
"type": [
"string",
"null"
]
},
"min_supported_agent_version": {
"type": [
"string",
"null"
]
},
"tasks_catalog": {},
"upgrade_download_url": {
"type": [
"string",
"null"
]
}
}
}Fields§
§lan_protocol_version: i32§latest_agent_version: Option<String>§min_supported_agent_version: Option<String>§tasks_catalog: Value§upgrade_download_url: Option<String>Trait Implementations§
Source§impl Clone for LanAgentMetaResponse
impl Clone for LanAgentMetaResponse
Source§fn clone(&self) -> LanAgentMetaResponse
fn clone(&self) -> LanAgentMetaResponse
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 LanAgentMetaResponse
impl Debug for LanAgentMetaResponse
Source§impl<'de> Deserialize<'de> for LanAgentMetaResponse
impl<'de> Deserialize<'de> for LanAgentMetaResponse
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 LanAgentMetaResponse
impl RefUnwindSafe for LanAgentMetaResponse
impl Send for LanAgentMetaResponse
impl Sync for LanAgentMetaResponse
impl Unpin for LanAgentMetaResponse
impl UnsafeUnpin for LanAgentMetaResponse
impl UnwindSafe for LanAgentMetaResponse
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