pub struct AddAdminRequestBuilder { /* private fields */ }Expand description
Builder for AddAdminRequest.
Implementations§
Source§impl AddAdminRequestBuilder
impl AddAdminRequestBuilder
Sourcepub fn with_group_chat_id<VALUE: Into<Uuid>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn with_group_chat_id<VALUE: Into<Uuid>>( &mut self, value: VALUE, ) -> &mut Self
Идентификатор чата
Sourcepub fn with_user_huids<VALUE: Into<Vec<Uuid>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn with_user_huids<VALUE: Into<Vec<Uuid>>>( &mut self, value: VALUE, ) -> &mut Self
Список добавляемых администраторов
Sourcepub fn build(&self) -> Result<AddAdminRequest, AddAdminRequestBuilderError>
pub fn build(&self) -> Result<AddAdminRequest, AddAdminRequestBuilderError>
Trait Implementations§
Source§impl Clone for AddAdminRequestBuilder
impl Clone for AddAdminRequestBuilder
Source§fn clone(&self) -> AddAdminRequestBuilder
fn clone(&self) -> AddAdminRequestBuilder
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 AddAdminRequestBuilder
impl RefUnwindSafe for AddAdminRequestBuilder
impl Send for AddAdminRequestBuilder
impl Sync for AddAdminRequestBuilder
impl Unpin for AddAdminRequestBuilder
impl UnwindSafe for AddAdminRequestBuilder
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