pub struct LocalAsyncEventServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncEventServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncEventServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for LocalAsyncEventServiceClient<C>
impl<C: Clone> Clone for LocalAsyncEventServiceClient<C>
Source§fn clone(&self) -> LocalAsyncEventServiceClient<C>
fn clone(&self) -> LocalAsyncEventServiceClient<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 LocalAsyncEventServiceClient<C>
impl<C: Debug> Debug for LocalAsyncEventServiceClient<C>
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncEventService<I> for LocalAsyncEventServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncEventService<I> for LocalAsyncEventServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
Source§async fn create_event(
&self,
auth_: &BearerToken,
request: &CreateEvent,
) -> Result<Event, Error>
async fn create_event( &self, auth_: &BearerToken, request: &CreateEvent, ) -> Result<Event, Error>
Creates an event.
Source§async fn get_events(
&self,
auth_: &BearerToken,
request: &GetEvents,
) -> Result<BTreeSet<Event>, Error>
async fn get_events( &self, auth_: &BearerToken, request: &GetEvents, ) -> Result<BTreeSet<Event>, Error>
Gets a set of events by UUIDs
Source§async fn batch_get_events(
&self,
auth_: &BearerToken,
request: &BTreeSet<EventRid>,
) -> Result<BTreeSet<Event>, Error>
async fn batch_get_events( &self, auth_: &BearerToken, request: &BTreeSet<EventRid>, ) -> Result<BTreeSet<Event>, Error>
Gets a set of events by RID.
Source§async fn batch_filter_events(
&self,
auth_: &BearerToken,
request: &BatchFilterEventsRequest,
) -> Result<BTreeSet<Event>, Error>
async fn batch_filter_events( &self, auth_: &BearerToken, request: &BatchFilterEventsRequest, ) -> Result<BTreeSet<Event>, Error>
Gets a filtered set of events by RID and search filters.
Source§async fn update_event(
&self,
auth_: &BearerToken,
request: &UpdateEvent,
) -> Result<Event, Error>
async fn update_event( &self, auth_: &BearerToken, request: &UpdateEvent, ) -> Result<Event, Error>
Updates the fields of an event. Empty fields are left unchanged.
Source§async fn batch_update_event(
&self,
auth_: &BearerToken,
request: &BatchUpdateEventRequest,
) -> Result<BatchUpdateEventResponse, Error>
async fn batch_update_event( &self, auth_: &BearerToken, request: &BatchUpdateEventRequest, ) -> Result<BatchUpdateEventResponse, Error>
Updates the fields of an event specified by each request in the batch.
Empty fields in the UpdateEventRequest are left unchanged.
Source§async fn batch_update_disposition(
&self,
auth_: &BearerToken,
request: &BatchUpdateDispositionRequest,
) -> Result<BatchUpdateDispositionResponse, Error>
async fn batch_update_disposition( &self, auth_: &BearerToken, request: &BatchUpdateDispositionRequest, ) -> Result<BatchUpdateDispositionResponse, Error>
Updates the disposition of an event.
Source§async fn archive_event(
&self,
auth_: &BearerToken,
request: &ArchiveEvent,
) -> Result<(), Error>
async fn archive_event( &self, auth_: &BearerToken, request: &ArchiveEvent, ) -> Result<(), Error>
Archives an event
Source§async fn batch_archive_event(
&self,
auth_: &BearerToken,
request: &BTreeSet<EventRid>,
) -> Result<(), Error>
async fn batch_archive_event( &self, auth_: &BearerToken, request: &BTreeSet<EventRid>, ) -> Result<(), Error>
Archives a set of events
Source§async fn batch_unarchive_event(
&self,
auth_: &BearerToken,
request: &BTreeSet<EventRid>,
) -> Result<(), Error>
async fn batch_unarchive_event( &self, auth_: &BearerToken, request: &BTreeSet<EventRid>, ) -> Result<(), Error>
Unarchives a set of events
Source§async fn search_events(
&self,
auth_: &BearerToken,
request: &SearchEventsRequest,
) -> Result<SearchEventsResponse, Error>
async fn search_events( &self, auth_: &BearerToken, request: &SearchEventsRequest, ) -> Result<SearchEventsResponse, Error>
Searches for events that match the given filters.
Source§async fn aggregate_events(
&self,
auth_: &BearerToken,
request: &AggregateEventsRequest,
) -> Result<AggregateEventsResponse, Error>
async fn aggregate_events( &self, auth_: &BearerToken, request: &AggregateEventsRequest, ) -> Result<AggregateEventsResponse, Error>
Searches for events matching the given filter and aggregates them based on the requested functions.
Source§async fn batch_aggregate_events(
&self,
auth_: &BearerToken,
request: &BatchAggregateEventsRequest,
) -> Result<BatchAggregateEventsResponse, Error>
async fn batch_aggregate_events( &self, auth_: &BearerToken, request: &BatchAggregateEventsRequest, ) -> Result<BatchAggregateEventsResponse, Error>
Searches for events matching the given filter and aggregates them based on the requested functions.
Returns a list of responses in same order as the batched requests.
Source§async fn get_events_histogram(
&self,
auth_: &BearerToken,
request: &EventsHistogramRequest,
) -> Result<EventsHistogramResponse, Error>
async fn get_events_histogram( &self, auth_: &BearerToken, request: &EventsHistogramRequest, ) -> Result<EventsHistogramResponse, Error>
Gets a histogram of events that match the given filters.
Source§async fn list_properties_and_labels(
&self,
auth_: &BearerToken,
request: &ListPropertiesAndLabelsRequest,
) -> Result<ListPropertiesAndLabelsResponse, Error>
async fn list_properties_and_labels( &self, auth_: &BearerToken, request: &ListPropertiesAndLabelsRequest, ) -> Result<ListPropertiesAndLabelsResponse, Error>
Lists the properties and labels of all events in the provided workspaces.
Auto Trait Implementations§
impl<C> Freeze for LocalAsyncEventServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for LocalAsyncEventServiceClient<C>
impl<C> Send for LocalAsyncEventServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncEventServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncEventServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncEventServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for LocalAsyncEventServiceClient<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