pub struct PushTelemetryRequestBuilder { /* private fields */ }
Expand description
Builder for PushTelemetryRequest
.
Implementations§
source§impl PushTelemetryRequestBuilder
impl PushTelemetryRequestBuilder
sourcepub fn client_instance_id(&mut self, value: Uuid) -> &mut Self
pub fn client_instance_id(&mut self, value: Uuid) -> &mut Self
Unique id for this client instance.
Supported API versions: 0
sourcepub fn subscription_id(&mut self, value: i32) -> &mut Self
pub fn subscription_id(&mut self, value: i32) -> &mut Self
Unique identifier for the current subscription.
Supported API versions: 0
sourcepub fn terminating(&mut self, value: bool) -> &mut Self
pub fn terminating(&mut self, value: bool) -> &mut Self
Client is terminating the connection.
Supported API versions: 0
sourcepub fn compression_type(&mut self, value: i8) -> &mut Self
pub fn compression_type(&mut self, value: i8) -> &mut Self
Compression codec used to compress the metrics.
Supported API versions: 0
sourcepub fn metrics(&mut self, value: Bytes) -> &mut Self
pub fn metrics(&mut self, value: Bytes) -> &mut Self
Metrics encoded in OpenTelemetry MetricsData v1 protobuf format.
Supported API versions: 0
sourcepub fn unknown_tagged_fields(
&mut self,
value: BTreeMap<i32, Bytes>,
) -> &mut Self
pub fn unknown_tagged_fields( &mut self, value: BTreeMap<i32, Bytes>, ) -> &mut Self
Other tagged fields
sourcepub fn build(
&self,
) -> Result<PushTelemetryRequest, PushTelemetryRequestBuilderError>
pub fn build( &self, ) -> Result<PushTelemetryRequest, PushTelemetryRequestBuilderError>
Trait Implementations§
source§impl Clone for PushTelemetryRequestBuilder
impl Clone for PushTelemetryRequestBuilder
source§fn clone(&self) -> PushTelemetryRequestBuilder
fn clone(&self) -> PushTelemetryRequestBuilder
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 moreAuto Trait Implementations§
impl !Freeze for PushTelemetryRequestBuilder
impl RefUnwindSafe for PushTelemetryRequestBuilder
impl Send for PushTelemetryRequestBuilder
impl Sync for PushTelemetryRequestBuilder
impl Unpin for PushTelemetryRequestBuilder
impl UnwindSafe for PushTelemetryRequestBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)