pub struct UptimeSubscription;
Expand description
UptimeSubscription returns uptime metrics to determine how long the Vector instance has been running.
Trait Implementations§
source§impl Clone for UptimeSubscription
impl Clone for UptimeSubscription
source§fn clone(&self) -> UptimeSubscription
fn clone(&self) -> UptimeSubscription
Returns a copy 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 UptimeSubscription
impl Debug for UptimeSubscription
source§impl GraphQLQuery for UptimeSubscription
impl GraphQLQuery for UptimeSubscription
source§type Variables = Variables
type Variables = Variables
The shape of the variables expected by the query. This should be a generated struct most of the time.
source§type ResponseData = ResponseData
type ResponseData = ResponseData
The top-level shape of the response data (the
data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.source§fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
impl Copy for UptimeSubscription
Auto Trait Implementations§
impl Freeze for UptimeSubscription
impl RefUnwindSafe for UptimeSubscription
impl Send for UptimeSubscription
impl Sync for UptimeSubscription
impl Unpin for UptimeSubscription
impl UnwindSafe for UptimeSubscription
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)