pub struct DirectMessage {
pub id: String,
pub text: String,
pub sender_id: String,
pub recipient_id: String,
pub created_at: String,
pub media_urls: Option<Vec<String>>,
pub sender_screen_name: Option<String>,
pub recipient_screen_name: Option<String>,
}Fields§
§id: String§text: String§sender_id: String§recipient_id: String§created_at: String§media_urls: Option<Vec<String>>§sender_screen_name: Option<String>§recipient_screen_name: Option<String>Trait Implementations§
Source§impl Clone for DirectMessage
impl Clone for DirectMessage
Source§fn clone(&self) -> DirectMessage
fn clone(&self) -> DirectMessage
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 DirectMessage
impl Debug for DirectMessage
Source§impl<'de> Deserialize<'de> for DirectMessage
impl<'de> Deserialize<'de> for DirectMessage
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 DirectMessage
impl RefUnwindSafe for DirectMessage
impl Send for DirectMessage
impl Sync for DirectMessage
impl Unpin for DirectMessage
impl UnwindSafe for DirectMessage
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