pub struct ImagePlacement {
pub ref_id: Option<String>,
pub asset: Option<String>,
pub image: Option<String>,
pub caption: Option<String>,
pub alt: Option<String>,
pub annotations: Vec<AnnotationRef>,
}Expand description
Parsed :::image placement.
Fields§
§ref_id: Option<String>Optional placement reference.
asset: Option<String>Optional direct asset reference.
image: Option<String>Optional image metadata reference.
caption: Option<String>Optional caption.
alt: Option<String>Optional alt text.
annotations: Vec<AnnotationRef>Annotation markers attached to this image placement.
Trait Implementations§
Source§impl Clone for ImagePlacement
impl Clone for ImagePlacement
Source§impl Debug for ImagePlacement
impl Debug for ImagePlacement
Source§impl<'de> Deserialize<'de> for ImagePlacement
impl<'de> Deserialize<'de> for ImagePlacement
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
impl Eq for ImagePlacement
Source§impl PartialEq for ImagePlacement
impl PartialEq for ImagePlacement
Source§impl Serialize for ImagePlacement
impl Serialize for ImagePlacement
impl StructuralPartialEq for ImagePlacement
Auto Trait Implementations§
impl Freeze for ImagePlacement
impl RefUnwindSafe for ImagePlacement
impl Send for ImagePlacement
impl Sync for ImagePlacement
impl Unpin for ImagePlacement
impl UnsafeUnpin for ImagePlacement
impl UnwindSafe for ImagePlacement
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.