pub struct UnbanRequest {
pub broadcaster_user_id: u64,
pub user_id: u64,
}Expand description
Request body for unbanning a user
§Example
use kick_api::UnbanRequest;
let unban = UnbanRequest {
broadcaster_user_id: 12345,
user_id: 67890,
};Fields§
§broadcaster_user_id: u64The broadcaster’s channel where the unban applies
user_id: u64The user to unban
Trait Implementations§
Source§impl Clone for UnbanRequest
impl Clone for UnbanRequest
Source§fn clone(&self) -> UnbanRequest
fn clone(&self) -> UnbanRequest
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 moreSource§impl Debug for UnbanRequest
impl Debug for UnbanRequest
Auto Trait Implementations§
impl Freeze for UnbanRequest
impl RefUnwindSafe for UnbanRequest
impl Send for UnbanRequest
impl Sync for UnbanRequest
impl Unpin for UnbanRequest
impl UnwindSafe for UnbanRequest
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