pub struct SetBadgeOptions {
pub id: String,
pub value: Option<String>,
}Fields§
§id: String§value: Option<String>None clears the badge.
Trait Implementations§
Source§impl Clone for SetBadgeOptions
impl Clone for SetBadgeOptions
Source§fn clone(&self) -> SetBadgeOptions
fn clone(&self) -> SetBadgeOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetBadgeOptions
impl Debug for SetBadgeOptions
Source§impl<'de> Deserialize<'de> for SetBadgeOptions
impl<'de> Deserialize<'de> for SetBadgeOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetBadgeOptions
impl RefUnwindSafe for SetBadgeOptions
impl Send for SetBadgeOptions
impl Sync for SetBadgeOptions
impl Unpin for SetBadgeOptions
impl UnsafeUnpin for SetBadgeOptions
impl UnwindSafe for SetBadgeOptions
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