pub struct PhotoAttachmentPayload {
pub url: Option<String>,
pub token: Option<String>,
pub photo_id: Option<i64>,
pub width: Option<i32>,
pub height: Option<i32>,
pub extra: BTreeMap<String, Value>,
}Fields§
§url: Option<String>§token: Option<String>§photo_id: Option<i64>§width: Option<i32>§height: Option<i32>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for PhotoAttachmentPayload
impl Clone for PhotoAttachmentPayload
Source§fn clone(&self) -> PhotoAttachmentPayload
fn clone(&self) -> PhotoAttachmentPayload
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 PhotoAttachmentPayload
impl Debug for PhotoAttachmentPayload
Source§impl Default for PhotoAttachmentPayload
impl Default for PhotoAttachmentPayload
Source§fn default() -> PhotoAttachmentPayload
fn default() -> PhotoAttachmentPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhotoAttachmentPayload
impl<'de> Deserialize<'de> for PhotoAttachmentPayload
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 PhotoAttachmentPayload
impl RefUnwindSafe for PhotoAttachmentPayload
impl Send for PhotoAttachmentPayload
impl Sync for PhotoAttachmentPayload
impl Unpin for PhotoAttachmentPayload
impl UnsafeUnpin for PhotoAttachmentPayload
impl UnwindSafe for PhotoAttachmentPayload
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