pub struct ViewImage {
pub alt: String,
pub aspect_ratio: Option<AspectRatio>,
pub fullsize: String,
pub thumb: String,
}
Fields§
§alt: String
Alt text description of the image, for accessibility.
aspect_ratio: Option<AspectRatio>
§fullsize: String
Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.
thumb: String
Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ViewImage
impl<'de> Deserialize<'de> for ViewImage
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 ViewImage
impl PartialEq for ViewImage
impl Eq for ViewImage
impl StructuralPartialEq for ViewImage
Auto Trait Implementations§
impl RefUnwindSafe for ViewImage
impl Send for ViewImage
impl Sync for ViewImage
impl Unpin for ViewImage
impl UnwindSafe for ViewImage
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