pub struct ObservationsGetMany<'a> { /* private fields */ }Expand description
Builder for Client::observations_get_many
Implementations§
Source§impl<'a> ObservationsGetMany<'a>
impl<'a> ObservationsGetMany<'a>
pub fn new(client: &'a Client) -> Self
pub fn environment<V>(self, value: V) -> Self
pub fn filter<V>(self, value: V) -> Self
pub fn from_start_time<V>(self, value: V) -> Self
pub fn level<V>(self, value: V) -> Selfwhere
V: TryInto<ObservationLevel>,
pub fn limit<V>(self, value: V) -> Self
pub fn name<V>(self, value: V) -> Self
pub fn page<V>(self, value: V) -> Self
pub fn parent_observation_id<V>(self, value: V) -> Self
pub fn to_start_time<V>(self, value: V) -> Self
pub fn trace_id<V>(self, value: V) -> Self
pub fn type_<V>(self, value: V) -> Self
pub fn user_id<V>(self, value: V) -> Self
pub fn version<V>(self, value: V) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<ObservationsViews>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<ObservationsViews>, Error<()>>
Sends a GET request to /api/public/observations
Trait Implementations§
Source§impl<'a> Clone for ObservationsGetMany<'a>
impl<'a> Clone for ObservationsGetMany<'a>
Source§fn clone(&self) -> ObservationsGetMany<'a>
fn clone(&self) -> ObservationsGetMany<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ObservationsGetMany<'a>
impl<'a> !RefUnwindSafe for ObservationsGetMany<'a>
impl<'a> Send for ObservationsGetMany<'a>
impl<'a> Sync for ObservationsGetMany<'a>
impl<'a> Unpin for ObservationsGetMany<'a>
impl<'a> UnsafeUnpin for ObservationsGetMany<'a>
impl<'a> !UnwindSafe for ObservationsGetMany<'a>
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