pub struct Config<'a> {
pub profile_id: &'a str,
pub channel: Channel<'a>,
pub first_utc: i64,
pub reception_seconds: u32,
pub delivery_every_slots: Option<usize>,
pub thresholds: &'a [Value],
}Fields§
§profile_id: &'a str§channel: Channel<'a>§first_utc: i64UTC seconds of the first slot.
reception_seconds: u32§delivery_every_slots: Option<usize>The first delivery boundary is the last slot of the first full period.
thresholds: &'a [Value]Strictly increasing values in the channel’s unit.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnsafeUnpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
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