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 copy 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 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