pub struct PostMetadataEmbedsInner {
pub type: Option<RHashType>,
pub url: Option<String>,
pub data: Option<Value>,
}Fields§
§type: Option<RHashType>The type of content that is embedded in this point.
url: Option<String>The URL of the embedded content, if one exists.
data: Option<Value>Any additional information about the embedded content. Only used at this time to store OpenGraph metadata. This field will be null for non-OpenGraph embeds.
Implementations§
Source§impl PostMetadataEmbedsInner
impl PostMetadataEmbedsInner
pub fn new() -> PostMetadataEmbedsInner
Trait Implementations§
Source§impl Clone for PostMetadataEmbedsInner
impl Clone for PostMetadataEmbedsInner
Source§fn clone(&self) -> PostMetadataEmbedsInner
fn clone(&self) -> PostMetadataEmbedsInner
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 PostMetadataEmbedsInner
impl Debug for PostMetadataEmbedsInner
Source§impl Default for PostMetadataEmbedsInner
impl Default for PostMetadataEmbedsInner
Source§fn default() -> PostMetadataEmbedsInner
fn default() -> PostMetadataEmbedsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostMetadataEmbedsInner
impl<'de> Deserialize<'de> for PostMetadataEmbedsInner
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 PartialEq for PostMetadataEmbedsInner
impl PartialEq for PostMetadataEmbedsInner
Source§impl Serialize for PostMetadataEmbedsInner
impl Serialize for PostMetadataEmbedsInner
impl StructuralPartialEq for PostMetadataEmbedsInner
Auto Trait Implementations§
impl Freeze for PostMetadataEmbedsInner
impl RefUnwindSafe for PostMetadataEmbedsInner
impl Send for PostMetadataEmbedsInner
impl Sync for PostMetadataEmbedsInner
impl Unpin for PostMetadataEmbedsInner
impl UnwindSafe for PostMetadataEmbedsInner
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