pub struct TrajectoryResponse {
pub trajectory_id: TrajectoryId,
pub name: String,
pub description: Option<String>,
pub status: TrajectoryStatus,
pub parent_trajectory_id: Option<TrajectoryId>,
pub root_trajectory_id: Option<TrajectoryId>,
pub agent_id: Option<AgentId>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub metadata: Option<Value>,
}Expand description
Trajectory response from the API.
Fields§
§trajectory_id: TrajectoryId§name: String§description: Option<String>§status: TrajectoryStatus§parent_trajectory_id: Option<TrajectoryId>§root_trajectory_id: Option<TrajectoryId>§agent_id: Option<AgentId>§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for TrajectoryResponse
impl Clone for TrajectoryResponse
Source§fn clone(&self) -> TrajectoryResponse
fn clone(&self) -> TrajectoryResponse
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 TrajectoryResponse
impl Debug for TrajectoryResponse
Source§impl<'de> Deserialize<'de> for TrajectoryResponse
impl<'de> Deserialize<'de> for TrajectoryResponse
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 TrajectoryResponse
impl RefUnwindSafe for TrajectoryResponse
impl Send for TrajectoryResponse
impl Sync for TrajectoryResponse
impl Unpin for TrajectoryResponse
impl UnwindSafe for TrajectoryResponse
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