pub struct PinMessageRequestBuilder { /* private fields */ }Expand description
Builder for PinMessageRequest.
Implementations§
Source§impl PinMessageRequestBuilder
impl PinMessageRequestBuilder
Sourcepub fn with_chat_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn with_chat_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
Идентификатор чата
Sourcepub fn with_sync_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn with_sync_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
Идентификатор сообщения
Sourcepub fn build(&self) -> Result<PinMessageRequest, PinMessageRequestBuilderError>
pub fn build(&self) -> Result<PinMessageRequest, PinMessageRequestBuilderError>
Trait Implementations§
Source§impl Clone for PinMessageRequestBuilder
impl Clone for PinMessageRequestBuilder
Source§fn clone(&self) -> PinMessageRequestBuilder
fn clone(&self) -> PinMessageRequestBuilder
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 PinMessageRequestBuilder
impl RefUnwindSafe for PinMessageRequestBuilder
impl Send for PinMessageRequestBuilder
impl Sync for PinMessageRequestBuilder
impl Unpin for PinMessageRequestBuilder
impl UnwindSafe for PinMessageRequestBuilder
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