pub struct ActionRecord {
pub image_index: usize,
pub action: String,
pub detail: String,
}Expand description
Record of a single transformation action taken.
Fields§
§image_index: usizeWhich image (by index in the payload)
action: StringWhat action was taken
detail: StringDetails (e.g., “resized from 4000x3000 to 2048x1536”)
Trait Implementations§
Source§impl Clone for ActionRecord
impl Clone for ActionRecord
Source§fn clone(&self) -> ActionRecord
fn clone(&self) -> ActionRecord
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 Debug for ActionRecord
impl Debug for ActionRecord
Source§impl<'de> Deserialize<'de> for ActionRecord
impl<'de> Deserialize<'de> for ActionRecord
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
Auto Trait Implementations§
impl Freeze for ActionRecord
impl RefUnwindSafe for ActionRecord
impl Send for ActionRecord
impl Sync for ActionRecord
impl Unpin for ActionRecord
impl UnsafeUnpin for ActionRecord
impl UnwindSafe for ActionRecord
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