pub struct XCitation {
pub url: String,
pub author_handle: Option<String>,
}Expand description
X/Twitter citation details.
Fields§
§url: StringThe URL of the X post.
The author’s handle.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XCitation
impl<'de> Deserialize<'de> for XCitation
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 XCitation
impl RefUnwindSafe for XCitation
impl Send for XCitation
impl Sync for XCitation
impl Unpin for XCitation
impl UnsafeUnpin for XCitation
impl UnwindSafe for XCitation
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