#[non_exhaustive]pub struct GetAttachmentRequest {
pub name: String,
/* private fields */
}Expand description
Request for getting an attachment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the attachment to get.
Implementations§
Trait Implementations§
Source§impl Clone for GetAttachmentRequest
impl Clone for GetAttachmentRequest
Source§fn clone(&self) -> GetAttachmentRequest
fn clone(&self) -> GetAttachmentRequest
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 GetAttachmentRequest
impl Debug for GetAttachmentRequest
Source§impl Default for GetAttachmentRequest
impl Default for GetAttachmentRequest
Source§fn default() -> GetAttachmentRequest
fn default() -> GetAttachmentRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetAttachmentRequest
impl Message for GetAttachmentRequest
Source§impl PartialEq for GetAttachmentRequest
impl PartialEq for GetAttachmentRequest
Source§fn eq(&self, other: &GetAttachmentRequest) -> bool
fn eq(&self, other: &GetAttachmentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAttachmentRequest
Auto Trait Implementations§
impl Freeze for GetAttachmentRequest
impl RefUnwindSafe for GetAttachmentRequest
impl Send for GetAttachmentRequest
impl Sync for GetAttachmentRequest
impl Unpin for GetAttachmentRequest
impl UnsafeUnpin for GetAttachmentRequest
impl UnwindSafe for GetAttachmentRequest
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