pub struct TaskAgentUpdate {
pub current_state: Option<String>,
pub reason: Option<TaskAgentUpdateReason>,
pub requested_by: Option<IdentityRef>,
pub request_time: Option<OffsetDateTime>,
pub source_version: Option<PackageVersion>,
pub target_version: Option<PackageVersion>,
}
Expand description
Details about an agent update.
Fields§
§current_state: Option<String>
Current state of this agent update.
reason: Option<TaskAgentUpdateReason>
§requested_by: Option<IdentityRef>
§request_time: Option<OffsetDateTime>
Date on which this update was requested.
source_version: Option<PackageVersion>
§target_version: Option<PackageVersion>
Implementations§
Trait Implementations§
source§impl Clone for TaskAgentUpdate
impl Clone for TaskAgentUpdate
source§fn clone(&self) -> TaskAgentUpdate
fn clone(&self) -> TaskAgentUpdate
Returns a copy 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 TaskAgentUpdate
impl Debug for TaskAgentUpdate
source§impl Default for TaskAgentUpdate
impl Default for TaskAgentUpdate
source§fn default() -> TaskAgentUpdate
fn default() -> TaskAgentUpdate
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskAgentUpdate
impl<'de> Deserialize<'de> for TaskAgentUpdate
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 PartialEq for TaskAgentUpdate
impl PartialEq for TaskAgentUpdate
source§fn eq(&self, other: &TaskAgentUpdate) -> bool
fn eq(&self, other: &TaskAgentUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskAgentUpdate
impl Serialize for TaskAgentUpdate
impl StructuralPartialEq for TaskAgentUpdate
Auto Trait Implementations§
impl RefUnwindSafe for TaskAgentUpdate
impl Send for TaskAgentUpdate
impl Sync for TaskAgentUpdate
impl Unpin for TaskAgentUpdate
impl UnwindSafe for TaskAgentUpdate
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