pub struct SpatialServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C: Clone> Clone for SpatialServiceClient<C>
impl<C: Clone> Clone for SpatialServiceClient<C>
Source§fn clone(&self) -> SpatialServiceClient<C>
fn clone(&self) -> SpatialServiceClient<C>
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<C: Debug> Debug for SpatialServiceClient<C>
impl<C: Debug> Debug for SpatialServiceClient<C>
Source§impl<C> Service<C> for SpatialServiceClient<C>
impl<C> Service<C> for SpatialServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an HTTP client.
Source§impl<I: Iterator<Item = Result<Bytes, Error>>, __C> SpatialService<I> for SpatialServiceClient<__C>where
__C: Client<ResponseBody = I>,
impl<I: Iterator<Item = Result<Bytes, Error>>, __C> SpatialService<I> for SpatialServiceClient<__C>where
__C: Client<ResponseBody = I>,
Source§fn get(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<Spatial, Error>
fn get( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<Spatial, Error>
Returns spatial asset metadata associated with a spatial asset rid.
Source§fn batch_get(
&self,
auth_: &BearerToken,
request: &GetSpatialsRequest,
) -> Result<GetSpatialsResponse, Error>
fn batch_get( &self, auth_: &BearerToken, request: &GetSpatialsRequest, ) -> Result<GetSpatialsResponse, Error>
Returns spatial asset metadata for each given spatial asset rid.
Source§fn search(
&self,
auth_: &BearerToken,
request: &SearchSpatialsRequest,
) -> Result<SearchSpatialsResponse, Error>
fn search( &self, auth_: &BearerToken, request: &SearchSpatialsRequest, ) -> Result<SearchSpatialsResponse, Error>
Returns metadata about spatial assets that match a given query.
Source§fn create(
&self,
auth_: &BearerToken,
request: &CreateSpatialRequest,
) -> Result<Spatial, Error>
fn create( &self, auth_: &BearerToken, request: &CreateSpatialRequest, ) -> Result<Spatial, Error>
Creates and persists a spatial asset entity with the given metadata.
Source§fn update_metadata(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
request: &UpdateSpatialMetadataRequest,
) -> Result<Spatial, Error>
fn update_metadata( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, request: &UpdateSpatialMetadataRequest, ) -> Result<Spatial, Error>
Updates the metadata for a spatial asset associated with the given rid.
fn get_ingest_status( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<SpatialIngestStatus, Error>
fn batch_get_ingest_status( &self, auth_: &BearerToken, spatial_rids: &BTreeSet<SpatialRid>, ) -> Result<BTreeMap<SpatialRid, SpatialIngestStatus>, Error>
Source§fn archive(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<(), Error>
fn archive( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<(), Error>
Archives a spatial asset, excluding it from search. Can be unarchived.
Source§fn unarchive(
&self,
auth_: &BearerToken,
spatial_rid: &SpatialRid,
) -> Result<(), Error>
fn unarchive( &self, auth_: &BearerToken, spatial_rid: &SpatialRid, ) -> Result<(), Error>
Unarchives a previously archived spatial asset.
Source§fn import_file(
&self,
auth_: &BearerToken,
request: &ImportFileRequest,
) -> Result<ImportFileResponse, Error>
fn import_file( &self, auth_: &BearerToken, request: &ImportFileRequest, ) -> Result<ImportFileResponse, Error>
Imports a spatial data file (e.g. LAS, LAZ, PLY, PCAP).
Creates a new spatial asset, processes the file, and uploads the extracted data to Dagger.
Auto Trait Implementations§
impl<C> Freeze for SpatialServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for SpatialServiceClient<C>
impl<C> Send for SpatialServiceClient<C>where
C: Send,
impl<C> Sync for SpatialServiceClient<C>where
C: Sync,
impl<C> Unpin for SpatialServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for SpatialServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for SpatialServiceClient<C>
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<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