pub struct RemoveUserRequestBuilder { /* private fields */ }Expand description
Builder for RemoveUserRequest.
Implementations§
Source§impl RemoveUserRequestBuilder
impl RemoveUserRequestBuilder
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<RemoveUserRequest, RemoveUserRequestBuilderError>
pub fn build(&self) -> Result<RemoveUserRequest, RemoveUserRequestBuilderError>
Trait Implementations§
Source§impl Clone for RemoveUserRequestBuilder
impl Clone for RemoveUserRequestBuilder
Source§fn clone(&self) -> RemoveUserRequestBuilder
fn clone(&self) -> RemoveUserRequestBuilder
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 RemoveUserRequestBuilder
impl RefUnwindSafe for RemoveUserRequestBuilder
impl Send for RemoveUserRequestBuilder
impl Sync for RemoveUserRequestBuilder
impl Unpin for RemoveUserRequestBuilder
impl UnwindSafe for RemoveUserRequestBuilder
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