Struct botx_api::api::v3::chats::remove_user::models::RemoveUserRequestBuilder
source · 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 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 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