pub struct Signals {
pub owner: SubjectId,
pub members: Vec<MemberSignal>,
pub messages: Vec<MessageSignal>,
pub channels: Vec<Hash32>,
pub relays: Vec<RelayCoverage>,
pub requested_from: u64,
pub requested_to: u64,
pub confirmed_from: u64,
pub confirmed_to: u64,
pub roster_version: Hash32,
}Expand description
Everything evaluate reads. The caller owns fetching, decryption and the
clock; the engine owns only arithmetic.
Fields§
§owner: SubjectId§members: Vec<MemberSignal>§messages: Vec<MessageSignal>The corpus, newest-first clamping applied per policy window inside.
channels: Vec<Hash32>§relays: Vec<RelayCoverage>§requested_from: u64§requested_to: u64§confirmed_from: u64§confirmed_to: u64§roster_version: Hash32Trait Implementations§
Auto Trait Implementations§
impl Freeze for Signals
impl RefUnwindSafe for Signals
impl Send for Signals
impl Sync for Signals
impl Unpin for Signals
impl UnsafeUnpin for Signals
impl UnwindSafe for Signals
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more