pub struct AgentSyncRequest {
pub current_state: Option<Value>,
pub deployment_id: String,
}Expand description
AgentSyncRequest
JSON schema
{
"type": "object",
"required": [
"deploymentId"
],
"properties": {
"currentState": {
"description": "Current deployment state as reported by the agent.\nWhen present, the manager updates the deployment record to reflect\nthe agent's progress (status, stack_state, etc.)."
},
"deploymentId": {
"type": "string"
}
}
}Fields§
§current_state: Option<Value>Current deployment state as reported by the agent. When present, the manager updates the deployment record to reflect the agent’s progress (status, stack_state, etc.).
deployment_id: StringImplementations§
Source§impl AgentSyncRequest
impl AgentSyncRequest
pub fn builder() -> AgentSyncRequest
Trait Implementations§
Source§impl Clone for AgentSyncRequest
impl Clone for AgentSyncRequest
Source§fn clone(&self) -> AgentSyncRequest
fn clone(&self) -> AgentSyncRequest
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 AgentSyncRequest
impl Debug for AgentSyncRequest
Source§impl<'de> Deserialize<'de> for AgentSyncRequest
impl<'de> Deserialize<'de> for AgentSyncRequest
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 From<&AgentSyncRequest> for AgentSyncRequest
impl From<&AgentSyncRequest> for AgentSyncRequest
Source§fn from(value: &AgentSyncRequest) -> Self
fn from(value: &AgentSyncRequest) -> Self
Converts to this type from the input type.
Source§impl From<AgentSyncRequest> for AgentSyncRequest
impl From<AgentSyncRequest> for AgentSyncRequest
Source§fn from(value: AgentSyncRequest) -> Self
fn from(value: AgentSyncRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for AgentSyncRequest
impl Serialize for AgentSyncRequest
Source§impl TryFrom<AgentSyncRequest> for AgentSyncRequest
impl TryFrom<AgentSyncRequest> for AgentSyncRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AgentSyncRequest) -> Result<Self, ConversionError>
fn try_from(value: AgentSyncRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AgentSyncRequest
impl RefUnwindSafe for AgentSyncRequest
impl Send for AgentSyncRequest
impl Sync for AgentSyncRequest
impl Unpin for AgentSyncRequest
impl UnsafeUnpin for AgentSyncRequest
impl UnwindSafe for AgentSyncRequest
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