pub struct DistributionResponse {
pub timestamp: Option<String>,
pub data: Option<Box<DistributionEntry>>,
}Fields§
§timestamp: Option<String>Timestamp of the distribution data
data: Option<Box<DistributionEntry>>Implementations§
Source§impl DistributionResponse
impl DistributionResponse
pub fn new() -> DistributionResponse
Trait Implementations§
Source§impl Clone for DistributionResponse
impl Clone for DistributionResponse
Source§fn clone(&self) -> DistributionResponse
fn clone(&self) -> DistributionResponse
Returns a duplicate 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 DistributionResponse
impl Debug for DistributionResponse
Source§impl Default for DistributionResponse
impl Default for DistributionResponse
Source§fn default() -> DistributionResponse
fn default() -> DistributionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DistributionResponse
impl<'de> Deserialize<'de> for DistributionResponse
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 DistributionResponse
impl PartialEq for DistributionResponse
Source§impl Serialize for DistributionResponse
impl Serialize for DistributionResponse
impl StructuralPartialEq for DistributionResponse
Auto Trait Implementations§
impl Freeze for DistributionResponse
impl RefUnwindSafe for DistributionResponse
impl Send for DistributionResponse
impl Sync for DistributionResponse
impl Unpin for DistributionResponse
impl UnsafeUnpin for DistributionResponse
impl UnwindSafe for DistributionResponse
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