pub struct LoadReport {
Show 45 fields pub allocated_bandwidth_in: Option<f64>, pub allocated_bandwidth_out: Option<f64>, pub allocated_cpu: Option<f64>, pub allocated_memory: Option<f64>, pub allocated_msg_rate_in: Option<f64>, pub allocated_msg_rate_out: Option<f64>, pub bandwidth_in: Option<Box<ResourceUsage>>, pub bandwidth_out: Option<Box<ResourceUsage>>, pub broker_version_string: Option<String>, pub bundle_gains: Option<Vec<String>>, pub bundle_losses: Option<Vec<String>>, pub bundle_stats: Option<HashMap<String, NamespaceBundleStats>>, pub cpu: Option<Box<ResourceUsage>>, pub direct_memory: Option<Box<ResourceUsage>>, pub last_update: Option<i64>, pub load_manager_class_name: Option<String>, pub load_report_type: Option<String>, pub memory: Option<Box<ResourceUsage>>, pub msg_rate_in: Option<f64>, pub msg_rate_out: Option<f64>, pub msg_throughput_in: Option<f64>, pub msg_throughput_out: Option<f64>, pub name: Option<String>, pub non_persistent_topics_enabled: Option<bool>, pub num_bundles: Option<i32>, pub num_consumers: Option<i32>, pub num_producers: Option<i32>, pub num_topics: Option<i64>, pub over_loaded: Option<bool>, pub persistent_topics_enabled: Option<bool>, pub pre_allocated_bandwidth_in: Option<f64>, pub pre_allocated_bandwidth_out: Option<f64>, pub pre_allocated_cpu: Option<f64>, pub pre_allocated_memory: Option<f64>, pub pre_allocated_msg_rate_in: Option<f64>, pub pre_allocated_msg_rate_out: Option<f64>, pub protocols: Option<HashMap<String, String>>, pub pulsar_service_url: Option<String>, pub pulsar_service_url_tls: Option<String>, pub start_timestamp: Option<i64>, pub system_resource_usage: Option<Box<SystemResourceUsage>>, pub timestamp: Option<i64>, pub under_loaded: Option<bool>, pub web_service_url: Option<String>, pub web_service_url_tls: Option<String>,
}

Fields§

§allocated_bandwidth_in: Option<f64>§allocated_bandwidth_out: Option<f64>§allocated_cpu: Option<f64>§allocated_memory: Option<f64>§allocated_msg_rate_in: Option<f64>§allocated_msg_rate_out: Option<f64>§bandwidth_in: Option<Box<ResourceUsage>>§bandwidth_out: Option<Box<ResourceUsage>>§broker_version_string: Option<String>§bundle_gains: Option<Vec<String>>§bundle_losses: Option<Vec<String>>§bundle_stats: Option<HashMap<String, NamespaceBundleStats>>§cpu: Option<Box<ResourceUsage>>§direct_memory: Option<Box<ResourceUsage>>§last_update: Option<i64>§load_manager_class_name: Option<String>§load_report_type: Option<String>§memory: Option<Box<ResourceUsage>>§msg_rate_in: Option<f64>§msg_rate_out: Option<f64>§msg_throughput_in: Option<f64>§msg_throughput_out: Option<f64>§name: Option<String>§non_persistent_topics_enabled: Option<bool>§num_bundles: Option<i32>§num_consumers: Option<i32>§num_producers: Option<i32>§num_topics: Option<i64>§over_loaded: Option<bool>§persistent_topics_enabled: Option<bool>§pre_allocated_bandwidth_in: Option<f64>§pre_allocated_bandwidth_out: Option<f64>§pre_allocated_cpu: Option<f64>§pre_allocated_memory: Option<f64>§pre_allocated_msg_rate_in: Option<f64>§pre_allocated_msg_rate_out: Option<f64>§protocols: Option<HashMap<String, String>>§pulsar_service_url: Option<String>§pulsar_service_url_tls: Option<String>§start_timestamp: Option<i64>§system_resource_usage: Option<Box<SystemResourceUsage>>§timestamp: Option<i64>§under_loaded: Option<bool>§web_service_url: Option<String>§web_service_url_tls: Option<String>

Implementations§

Trait Implementations§

source§

impl Clone for LoadReport

source§

fn clone(&self) -> LoadReport

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LoadReport

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for LoadReport

source§

fn default() -> LoadReport

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for LoadReport

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for LoadReport

source§

fn eq(&self, other: &LoadReport) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for LoadReport

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for LoadReport

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,