pub struct Spatial { /* private fields */ }Expand description
A spatial asset representing 3D or geospatial data (e.g. point clouds).
Implementations§
Source§impl Spatial
impl Spatial
Sourcepub fn rid(&self) -> &SpatialRid
pub fn rid(&self) -> &SpatialRid
Unique resource identifier for this spatial asset.
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Optional longer description.
Sourcepub fn properties(&self) -> &BTreeMap<PropertyName, PropertyValue>
pub fn properties(&self) -> &BTreeMap<PropertyName, PropertyValue>
Arbitrary key-value metadata.
Sourcepub fn created_by(&self) -> &ResourceIdentifier
pub fn created_by(&self) -> &ResourceIdentifier
RID of the user who created this asset.
Sourcepub fn created_at(&self) -> DateTime<Utc>
pub fn created_at(&self) -> DateTime<Utc>
When this asset was created.
Sourcepub fn updated_at(&self) -> DateTime<Utc>
pub fn updated_at(&self) -> DateTime<Utc>
When this asset was last modified.
Sourcepub fn is_archived(&self) -> bool
pub fn is_archived(&self) -> bool
Whether this asset has been archived.
Sourcepub fn dagger_uuid(&self) -> Option<Uuid>
pub fn dagger_uuid(&self) -> Option<Uuid>
The UUID returned by Dagger when the spatial data was ingested.
Sourcepub fn start_timestamp(&self) -> Option<&Timestamp>
pub fn start_timestamp(&self) -> Option<&Timestamp>
Start of the time range covered by this spatial asset.
Sourcepub fn end_timestamp(&self) -> Option<&Timestamp>
pub fn end_timestamp(&self) -> Option<&Timestamp>
End of the time range covered by this spatial asset.
Sourcepub fn type_metadata(&self) -> &SpatialTypeMetadata
pub fn type_metadata(&self) -> &SpatialTypeMetadata
Type-specific metadata (e.g. sensor metadata for point clouds). The variant of this union also serves as the type discriminator — there is no separate spatialType field.
Sourcepub fn source_handle(&self) -> Option<&Handle>
pub fn source_handle(&self) -> Option<&Handle>
Optional reference to the original source data (e.g., S3 path) for provenance tracking.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spatial
impl<'de> Deserialize<'de> for Spatial
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 Ord for Spatial
impl Ord for Spatial
Source§impl PartialOrd for Spatial
impl PartialOrd for Spatial
impl Eq for Spatial
Auto Trait Implementations§
impl Freeze for Spatial
impl RefUnwindSafe for Spatial
impl Send for Spatial
impl Sync for Spatial
impl Unpin for Spatial
impl UnsafeUnpin for Spatial
impl UnwindSafe for Spatial
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request