pub struct SlackPerson {
pub id: String,
pub name: Option<String>,
}Expand description
One person a held draft tags. name is the resolved display name; None
when the lookup failed, and the card draws the id rather than a guess.
Fields§
§id: String§name: Option<String>Trait Implementations§
Source§impl Clone for SlackPerson
impl Clone for SlackPerson
Source§impl Debug for SlackPerson
impl Debug for SlackPerson
Source§impl<'de> Deserialize<'de> for SlackPerson
impl<'de> Deserialize<'de> for SlackPerson
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
impl Eq for SlackPerson
Source§impl PartialEq for SlackPerson
impl PartialEq for SlackPerson
Source§impl Serialize for SlackPerson
impl Serialize for SlackPerson
impl StructuralPartialEq for SlackPerson
Auto Trait Implementations§
impl Freeze for SlackPerson
impl RefUnwindSafe for SlackPerson
impl Send for SlackPerson
impl Sync for SlackPerson
impl Unpin for SlackPerson
impl UnsafeUnpin for SlackPerson
impl UnwindSafe for SlackPerson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.