pub struct SlackThreadName {
pub author: String,
pub excerpt: String,
}Expand description
The thread a held draft replies into, named for the card: the parent’s author and one flattened line of its text, so the reader is not asked to read a ts.
Fields§
The parent’s author: a bot’s own name when the parent carries one, else the resolved display name, else the raw user id when that lookup fails. Never invented.
excerpt: StringThe parent’s text flattened to one line and cut at the last space before the bound where there is one. Empty when the parent carried no text.
Trait Implementations§
Source§impl Clone for SlackThreadName
impl Clone for SlackThreadName
Source§impl Debug for SlackThreadName
impl Debug for SlackThreadName
Source§impl<'de> Deserialize<'de> for SlackThreadName
impl<'de> Deserialize<'de> for SlackThreadName
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 SlackThreadName
Source§impl PartialEq for SlackThreadName
impl PartialEq for SlackThreadName
Source§impl Serialize for SlackThreadName
impl Serialize for SlackThreadName
impl StructuralPartialEq for SlackThreadName
Auto Trait Implementations§
impl Freeze for SlackThreadName
impl RefUnwindSafe for SlackThreadName
impl Send for SlackThreadName
impl Sync for SlackThreadName
impl Unpin for SlackThreadName
impl UnsafeUnpin for SlackThreadName
impl UnwindSafe for SlackThreadName
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.