pub struct SnapshotRequest {
pub location_id: LocationId,
pub camera_id: CameraId,
pub purpose: CapturePurpose,
}Expand description
Snapshot request used by the agent tool workflow; it exposes tightly-scoped read/draft helpers agents can call behind review gates.
Fields§
§location_id: LocationIdLocation id copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
camera_id: CameraIdCamera id copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
purpose: CapturePurposePurpose copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Trait Implementations§
Source§impl Clone for SnapshotRequest
impl Clone for SnapshotRequest
Source§fn clone(&self) -> SnapshotRequest
fn clone(&self) -> SnapshotRequest
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 SnapshotRequest
impl Debug for SnapshotRequest
Source§impl<'de> Deserialize<'de> for SnapshotRequest
impl<'de> Deserialize<'de> for SnapshotRequest
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 SnapshotRequest
impl PartialEq for SnapshotRequest
Source§impl Serialize for SnapshotRequest
impl Serialize for SnapshotRequest
impl Eq for SnapshotRequest
impl StructuralPartialEq for SnapshotRequest
Auto Trait Implementations§
impl Freeze for SnapshotRequest
impl RefUnwindSafe for SnapshotRequest
impl Send for SnapshotRequest
impl Sync for SnapshotRequest
impl Unpin for SnapshotRequest
impl UnsafeUnpin for SnapshotRequest
impl UnwindSafe for SnapshotRequest
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