pub struct SharingStateV2 {
pub state: SharingValue,
pub plan_default: PlanDefault,
pub policy: Option<SharingPolicyValueV2>,
pub confirmed_at: Option<TimeStamp>,
pub since: Option<TimeStamp>,
}Expand description
sharing_state: GET /v1/metrics/sharing, the confirm answer, and the
sharing of every ack.
Fields§
§state: SharingValue§plan_default: PlanDefault§policy: Option<SharingPolicyValueV2>§confirmed_at: Option<TimeStamp>§since: Option<TimeStamp>Trait Implementations§
Source§impl Clone for SharingStateV2
impl Clone for SharingStateV2
Source§impl Debug for SharingStateV2
impl Debug for SharingStateV2
Source§impl<'de> Deserialize<'de> for SharingStateV2
impl<'de> Deserialize<'de> for SharingStateV2
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
impl Eq for SharingStateV2
Source§impl PartialEq for SharingStateV2
impl PartialEq for SharingStateV2
Source§impl Serialize for SharingStateV2
impl Serialize for SharingStateV2
impl StructuralPartialEq for SharingStateV2
Auto Trait Implementations§
impl Forget for SharingStateV2
impl Freeze for SharingStateV2
impl Move for SharingStateV2
impl RefUnwindSafe for SharingStateV2
impl Send for SharingStateV2where
RawVecInner: Send,
impl Sync for SharingStateV2where
RawVecInner: Sync,
impl Unpin for SharingStateV2
impl UnsafeUnpin for SharingStateV2
impl UnwindSafe for SharingStateV2where
RawVecInner: UnwindSafe,
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