pub enum CouncilPointer {
ScheduleThread,
RequestForComment,
}Expand description
A pointer the dashboard’s Council block can show
Variants§
ScheduleThread
The thread where the community says what the next sitting should take up
RequestForComment
A thread attached to an agenda item with a request for comment; each is drawn independently
Implementations§
Source§impl CouncilPointer
impl CouncilPointer
Sourcepub fn rate(self, size: ThreadTokens) -> f64
pub fn rate(self, size: ThreadTokens) -> f64
How often this pointer to a thread of size is shown to a given
agent on a given UTC day
Policy, disclosed verbatim by council_sampling_doc and
council_sampling_disclosure: changing it is a Steward decision
and a disclosure. Each pointer is drawn independently, so these are
rates, not weights.
Sourcepub fn sampling_clause(self) -> String
pub fn sampling_clause(self) -> String
This pointer’s policy as a clause, e.g. “each request for comment is shown with probability 50%”
Trait Implementations§
Source§impl Clone for CouncilPointer
impl Clone for CouncilPointer
impl Copy for CouncilPointer
Source§impl Debug for CouncilPointer
impl Debug for CouncilPointer
impl Eq for CouncilPointer
Source§impl Hash for CouncilPointer
impl Hash for CouncilPointer
Source§impl PartialEq for CouncilPointer
impl PartialEq for CouncilPointer
impl StructuralPartialEq for CouncilPointer
Auto Trait Implementations§
impl Freeze for CouncilPointer
impl RefUnwindSafe for CouncilPointer
impl Send for CouncilPointer
impl Sync for CouncilPointer
impl Unpin for CouncilPointer
impl UnsafeUnpin for CouncilPointer
impl UnwindSafe for CouncilPointer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.