#[non_exhaustive]pub struct DeleteUserStatusRequest {
pub users: Vec<String>,
}Expand description
DeleteUserStatusRequest deletes the status of users. Centrifugo PRO only.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.users: Vec<String>The list of user IDs to delete the status for. Required.
Implementations§
Source§impl DeleteUserStatusRequest
impl DeleteUserStatusRequest
Sourcepub fn new(users: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn new(users: impl IntoIterator<Item = impl Into<String>>) -> Self
Returns a DeleteUserStatusRequest with its required field: users. Set the others with the methods below.
Sourcepub fn users(self, value: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn users(self, value: impl IntoIterator<Item = impl Into<String>>) -> Self
Sets users.
Trait Implementations§
Source§impl Clone for DeleteUserStatusRequest
impl Clone for DeleteUserStatusRequest
Source§impl Debug for DeleteUserStatusRequest
impl Debug for DeleteUserStatusRequest
Source§impl<'de> Deserialize<'de> for DeleteUserStatusRequest
impl<'de> Deserialize<'de> for DeleteUserStatusRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Request for DeleteUserStatusRequest
impl Request for DeleteUserStatusRequest
Auto Trait Implementations§
impl Freeze for DeleteUserStatusRequest
impl RefUnwindSafe for DeleteUserStatusRequest
impl Send for DeleteUserStatusRequest
impl Sync for DeleteUserStatusRequest
impl Unpin for DeleteUserStatusRequest
impl UnsafeUnpin for DeleteUserStatusRequest
impl UnwindSafe for DeleteUserStatusRequest
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