pub struct UpdateAttachmentBuilder { /* private fields */ }Expand description
Builder for UpdateAttachment.
Implementations§
Source§impl UpdateAttachmentBuilder
impl UpdateAttachmentBuilder
Sourcepub fn attachment(&mut self, value: AttachmentUpdate) -> &mut Self
pub fn attachment(&mut self, value: AttachmentUpdate) -> &mut Self
the attachment update data
Sourcepub fn build(&self) -> Result<UpdateAttachment, UpdateAttachmentBuilderError>
pub fn build(&self) -> Result<UpdateAttachment, UpdateAttachmentBuilderError>
Trait Implementations§
Source§impl Clone for UpdateAttachmentBuilder
impl Clone for UpdateAttachmentBuilder
Source§fn clone(&self) -> UpdateAttachmentBuilder
fn clone(&self) -> UpdateAttachmentBuilder
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 moreAuto Trait Implementations§
impl Freeze for UpdateAttachmentBuilder
impl RefUnwindSafe for UpdateAttachmentBuilder
impl Send for UpdateAttachmentBuilder
impl Sync for UpdateAttachmentBuilder
impl Unpin for UpdateAttachmentBuilder
impl UnwindSafe for UpdateAttachmentBuilder
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