pub struct ViewImageData {
pub alt: String,
pub aspect_ratio: Option<AspectRatio>,
pub fullsize: String,
pub thumb: String,
}Available on crate feature
namespace-appbsky only.Fields§
§alt: StringAlt text description of the image, for accessibility.
aspect_ratio: Option<AspectRatio>§fullsize: StringFully-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: StringFully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.
Trait Implementations§
Source§impl Clone for ViewImageData
impl Clone for ViewImageData
Source§fn clone(&self) -> ViewImageData
fn clone(&self) -> ViewImageData
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 ViewImageData
impl Debug for ViewImageData
Source§impl<'de> Deserialize<'de> for ViewImageData
impl<'de> Deserialize<'de> for ViewImageData
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 ViewImageData
impl PartialEq for ViewImageData
Source§impl Serialize for ViewImageData
impl Serialize for ViewImageData
impl Eq for ViewImageData
impl StructuralPartialEq for ViewImageData
Auto Trait Implementations§
impl Freeze for ViewImageData
impl RefUnwindSafe for ViewImageData
impl Send for ViewImageData
impl Sync for ViewImageData
impl Unpin for ViewImageData
impl UnwindSafe for ViewImageData
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,
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.