pub struct SyncRequest {
pub deployment_id: String,
pub current_state: Option<DeploymentState>,
}Expand description
Request sent by the agent to the manager during periodic sync.
Fields§
§deployment_id: StringThe deployment ID this agent is managing.
current_state: Option<DeploymentState>Current deployment state as seen by the agent.
Trait Implementations§
Source§impl Clone for SyncRequest
impl Clone for SyncRequest
Source§fn clone(&self) -> SyncRequest
fn clone(&self) -> SyncRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SyncRequest
impl Debug for SyncRequest
Source§impl<'de> Deserialize<'de> for SyncRequest
impl<'de> Deserialize<'de> for SyncRequest
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 SyncRequest
impl !RefUnwindSafe for SyncRequest
impl Send for SyncRequest
impl Sync for SyncRequest
impl Unpin for SyncRequest
impl UnsafeUnpin for SyncRequest
impl !UnwindSafe for SyncRequest
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