pub struct AllMentionTarget {
pub type: Option<String>,
}
Fields§
§type: Option<String>
Target to be mentioned
Implementations§
Source§impl AllMentionTarget
impl AllMentionTarget
pub fn new(type: String) -> AllMentionTarget
Trait Implementations§
Source§impl Clone for AllMentionTarget
impl Clone for AllMentionTarget
Source§fn clone(&self) -> AllMentionTarget
fn clone(&self) -> AllMentionTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 AllMentionTarget
impl Debug for AllMentionTarget
Source§impl Default for AllMentionTarget
impl Default for AllMentionTarget
Source§fn default() -> AllMentionTarget
fn default() -> AllMentionTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllMentionTarget
impl<'de> Deserialize<'de> for AllMentionTarget
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
Source§impl PartialEq for AllMentionTarget
impl PartialEq for AllMentionTarget
Source§impl Serialize for AllMentionTarget
impl Serialize for AllMentionTarget
impl StructuralPartialEq for AllMentionTarget
Auto Trait Implementations§
impl Freeze for AllMentionTarget
impl RefUnwindSafe for AllMentionTarget
impl Send for AllMentionTarget
impl Sync for AllMentionTarget
impl Unpin for AllMentionTarget
impl UnwindSafe for AllMentionTarget
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