pub struct ChannelBuilder(/* private fields */);Implementations§
Source§impl ChannelBuilder
impl ChannelBuilder
pub fn description(self, description: impl Into<String>) -> Self
pub fn sound(self, sound: impl Into<String>) -> Self
pub fn lights(self, lights: bool) -> Self
pub fn light_color(self, color: impl Into<String>) -> Self
pub fn vibration(self, vibration: bool) -> Self
pub fn importance(self, importance: Importance) -> Self
pub fn visibility(self, visibility: Visibility) -> Self
pub fn build(self) -> Channel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChannelBuilder
impl RefUnwindSafe for ChannelBuilder
impl Send for ChannelBuilder
impl Sync for ChannelBuilder
impl Unpin for ChannelBuilder
impl UnwindSafe for ChannelBuilder
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