pub struct PhotoPickerChange {
pub id: u32,
pub request_id: u64,
pub status: PhotoPickerStatus,
pub message: Option<String>,
pub photos: Vec<PhotoPickerPhoto>,
}Expand description
Native photo picker completion event.
Fields§
§id: u32Picker node id that produced the result.
request_id: u64App-controlled request id, usually copied from the picker trigger value.
status: PhotoPickerStatusCompletion status.
message: Option<String>Human-readable platform message for errors or partial results.
photos: Vec<PhotoPickerPhoto>Selected photos, empty for cancellation, permission denial, or unavailable sources.
Trait Implementations§
Source§impl Clone for PhotoPickerChange
impl Clone for PhotoPickerChange
Source§fn clone(&self) -> PhotoPickerChange
fn clone(&self) -> PhotoPickerChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<&PhotoPickerInterruptArgs> for PhotoPickerChange
impl From<&PhotoPickerInterruptArgs> for PhotoPickerChange
Source§fn from(value: &PhotoPickerInterruptArgs) -> PhotoPickerChange
fn from(value: &PhotoPickerInterruptArgs) -> PhotoPickerChange
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PhotoPickerChange
impl RefUnwindSafe for PhotoPickerChange
impl Send for PhotoPickerChange
impl Sync for PhotoPickerChange
impl Unpin for PhotoPickerChange
impl UnsafeUnpin for PhotoPickerChange
impl UnwindSafe for PhotoPickerChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.