Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Text(String)
This field’s content should be interpreted as human-readable plaintext.
Url(String)
This field’s content should be interpreted as a URL.
Unknown
This field’s content was of an unknown format. This cannot be serialized but only exists to guarantee forward compatibility
Trait Implementations§
source§impl Clone for FieldContent
impl Clone for FieldContent
source§fn clone(&self) -> FieldContent
fn clone(&self) -> FieldContent
Returns a copy 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 FieldContent
impl Debug for FieldContent
source§impl<'de> Deserialize<'de> for FieldContent
impl<'de> Deserialize<'de> for FieldContent
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