pub struct Story {
pub chat: BoxWrapper<Unbox<Chat>>,
pub id: i64,
}
Expand description
This object represents a story.
Fields§
§chat: BoxWrapper<Unbox<Chat>>
Chat that posted the story
id: i64
Unique identifier for the story in the chat
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Story
impl<'de> Deserialize<'de> for Story
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 From<NoSkipStory> for Story
impl From<NoSkipStory> for Story
source§fn from(t: NoSkipStory) -> Self
fn from(t: NoSkipStory) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipStory> for Story
impl Into<NoSkipStory> for Story
source§fn into(self) -> NoSkipStory
fn into(self) -> NoSkipStory
Converts this type into the (usually inferred) input type.
source§impl Ord for Story
impl Ord for Story
source§impl PartialEq for Story
impl PartialEq for Story
source§impl PartialOrd for Story
impl PartialOrd for Story
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Story
impl StructuralPartialEq for Story
Auto Trait Implementations§
impl Freeze for Story
impl RefUnwindSafe for Story
impl Send for Story
impl Sync for Story
impl Unpin for Story
impl UnwindSafe for Story
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.