pub struct BusyBlock {
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub source_count: usize,
}Expand description
A merged busy block in the unified availability view.
Fields§
§start: DateTime<Utc>Start of the busy period.
end: DateTime<Utc>End of the busy period.
source_count: usizeNumber of source streams that contributed events to this block.
Set to 0 when privacy is Opaque.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BusyBlock
impl<'de> Deserialize<'de> for BusyBlock
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 StructuralPartialEq for BusyBlock
Auto Trait Implementations§
impl Freeze for BusyBlock
impl RefUnwindSafe for BusyBlock
impl Send for BusyBlock
impl Sync for BusyBlock
impl Unpin for BusyBlock
impl UnsafeUnpin for BusyBlock
impl UnwindSafe for BusyBlock
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