pub struct StoreAvatarParams {
pub _type: String,
pub entity_id: String,
pub size: i32,
pub body: Option<Value>,
pub x: Option<i32>,
pub y: Option<i32>,
}
Expand description
struct for passing parameters to the method store_avatar
Fields§
§_type: String
The avatar type.
entity_id: String
The ID of the item the avatar is associated with.
size: i32
The length of each side of the crop region.
body: Option<Value>
§x: Option<i32>
The X coordinate of the top-left corner of the crop region.
y: Option<i32>
The Y coordinate of the top-left corner of the crop region.
Trait Implementations§
Source§impl Clone for StoreAvatarParams
impl Clone for StoreAvatarParams
Source§fn clone(&self) -> StoreAvatarParams
fn clone(&self) -> StoreAvatarParams
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 StoreAvatarParams
impl Debug for StoreAvatarParams
Source§impl Default for StoreAvatarParams
impl Default for StoreAvatarParams
Source§fn default() -> StoreAvatarParams
fn default() -> StoreAvatarParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StoreAvatarParams
impl RefUnwindSafe for StoreAvatarParams
impl Send for StoreAvatarParams
impl Sync for StoreAvatarParams
impl Unpin for StoreAvatarParams
impl UnwindSafe for StoreAvatarParams
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