pub struct PushPolicy {
pub muted: bool,
pub details: bool,
pub generic_title: bool,
}Expand description
A hat’s push policy (kernel spec §6). The default, for a hat with no row: not muted, no details, the session title shown.
Fields§
§muted: boolNo notification for the hat’s sessions.
details: boolInclude the agent’s question title.
generic_title: bool“Session needs your answer”, without the session title.
Trait Implementations§
Source§impl Clone for PushPolicy
impl Clone for PushPolicy
impl Copy for PushPolicy
Source§impl Debug for PushPolicy
impl Debug for PushPolicy
Source§impl Default for PushPolicy
impl Default for PushPolicy
impl Eq for PushPolicy
Source§impl PartialEq for PushPolicy
impl PartialEq for PushPolicy
impl StructuralPartialEq for PushPolicy
Auto Trait Implementations§
impl Freeze for PushPolicy
impl RefUnwindSafe for PushPolicy
impl Send for PushPolicy
impl Sync for PushPolicy
impl Unpin for PushPolicy
impl UnsafeUnpin for PushPolicy
impl UnwindSafe for PushPolicy
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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