pub struct CandidateWire {
pub upstream_id: String,
pub name: String,
pub kind: String,
pub observed_rate_limits: Vec<RateLimitObservationWire>,
pub subscription_quotas: Vec<SubscriptionQuotaCandidateSnapshotWire>,
pub observed_at_unix_secs: u64,
}Fields§
§upstream_id: String§name: String§kind: String§observed_rate_limits: Vec<RateLimitObservationWire>§subscription_quotas: Vec<SubscriptionQuotaCandidateSnapshotWire>§observed_at_unix_secs: u64Implementations§
Source§impl CandidateWire
impl CandidateWire
pub fn dry_run_sample() -> Self
Trait Implementations§
Source§impl Clone for CandidateWire
impl Clone for CandidateWire
Source§fn clone(&self) -> CandidateWire
fn clone(&self) -> CandidateWire
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CandidateWire
impl Debug for CandidateWire
Source§impl<'de> Deserialize<'de> for CandidateWire
impl<'de> Deserialize<'de> for CandidateWire
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 CandidateWire
impl PartialEq for CandidateWire
Source§fn eq(&self, other: &CandidateWire) -> bool
fn eq(&self, other: &CandidateWire) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CandidateWire
impl Serialize for CandidateWire
impl StructuralPartialEq for CandidateWire
Auto Trait Implementations§
impl Freeze for CandidateWire
impl RefUnwindSafe for CandidateWire
impl Send for CandidateWire
impl Sync for CandidateWire
impl Unpin for CandidateWire
impl UnsafeUnpin for CandidateWire
impl UnwindSafe for CandidateWire
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