pub struct TrajectoryUpdated {
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<TrajectoryStatus>,
pub metadata: Option<Value>,
}Expand description
Payload for TRAJECTORY_UPDATED events (JSON merge-patch semantics).
All fields are optional: present means “change”, absent means “keep”.
Note: null vs absent for description is collapsed to None by serde.
Use raw serde_json::Value access when null-vs-absent matters.
Fields§
§name: Option<String>§description: Option<String>§status: Option<TrajectoryStatus>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for TrajectoryUpdated
impl Clone for TrajectoryUpdated
Source§fn clone(&self) -> TrajectoryUpdated
fn clone(&self) -> TrajectoryUpdated
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 TrajectoryUpdated
impl Debug for TrajectoryUpdated
Source§impl<'de> Deserialize<'de> for TrajectoryUpdated
impl<'de> Deserialize<'de> for TrajectoryUpdated
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 EventPayload for TrajectoryUpdated
impl EventPayload for TrajectoryUpdated
Auto Trait Implementations§
impl Freeze for TrajectoryUpdated
impl RefUnwindSafe for TrajectoryUpdated
impl Send for TrajectoryUpdated
impl Sync for TrajectoryUpdated
impl Unpin for TrajectoryUpdated
impl UnwindSafe for TrajectoryUpdated
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