pub struct Summary { /* private fields */ }Implementations§
Source§impl Summary
impl Summary
pub fn new() -> Summary
pub fn default_instance() -> &'static Summary
pub fn clear_sample_count(&mut self)
pub fn has_sample_count(&self) -> bool
pub fn set_sample_count(&mut self, v: u64)
pub fn get_sample_count(&self) -> u64
pub fn clear_sample_sum(&mut self)
pub fn has_sample_sum(&self) -> bool
pub fn set_sample_sum(&mut self, v: f64)
pub fn get_sample_sum(&self) -> f64
pub fn clear_quantile(&mut self)
pub fn set_quantile(&mut self, v: RepeatedField<Quantile>)
pub fn mut_quantile(&mut self) -> &mut RepeatedField<Quantile>
pub fn take_quantile(&mut self) -> RepeatedField<Quantile>
pub fn get_quantile(&self) -> &[Quantile]
Trait Implementations§
Source§impl Message for Summary
impl Message for Summary
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes( &self, os: &mut CodedOutputStream<'_>, ) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn type_id(&self) -> TypeId
fn as_any(&self) -> &dyn Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_length_delimited_to( &self, os: &mut CodedOutputStream<'_>, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec( &self, vec: &mut Vec<u8>, ) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer( &self, w: &mut dyn Write, ) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn into_any(self: Box<Self>) -> Box<dyn Any>
Source§impl MessageStatic for Summary
impl MessageStatic for Summary
fn new() -> Summary
fn descriptor_static(_: Option<Summary>) -> &'static MessageDescriptor
impl Sync for Summary
Auto Trait Implementations§
impl !Freeze for Summary
impl !RefUnwindSafe for Summary
impl Send for Summary
impl Unpin for Summary
impl UnwindSafe for Summary
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