pub(crate) struct PickerAsset {
pub(crate) url: String,
pub(crate) thumbnail: String,
pub(crate) filename: String,
pub(crate) alt: Option<String>,
pub(crate) fresh: bool,
}Expand description
Grid data shared by the authenticated picker and the local showcase.
Fields§
§url: String§thumbnail: String§filename: String§alt: Option<String>§fresh: boolTrait Implementations§
Source§impl Clone for PickerAsset
impl Clone for PickerAsset
Source§fn clone(&self) -> PickerAsset
fn clone(&self) -> PickerAsset
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 From<&AssetDto> for PickerAsset
impl From<&AssetDto> for PickerAsset
Source§impl PartialEq for PickerAsset
impl PartialEq for PickerAsset
impl StructuralPartialEq for PickerAsset
Auto Trait Implementations§
impl Freeze for PickerAsset
impl RefUnwindSafe for PickerAsset
impl Send for PickerAsset
impl Sync for PickerAsset
impl Unpin for PickerAsset
impl UnsafeUnpin for PickerAsset
impl UnwindSafe for PickerAsset
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> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.