#[repr(C)]pub struct _tagEOS_RTC_BlockParticipantCallbackInfo {
pub ResultCode: EOS_EResult,
pub ClientData: *mut c_void,
pub LocalUserId: EOS_ProductUserId,
pub RoomName: *const c_char,
pub ParticipantId: EOS_ProductUserId,
pub bBlocked: EOS_Bool,
}Expand description
This struct is passed in with a call to EOS_RTC_OnBlockParticipantCallback.
Fields§
§ResultCode: EOS_EResultThis returns: EOS_Success if the channel was successfully blocked. EOS_UnexpectedError otherwise.
ClientData: *mut c_voidClient-specified data passed into EOS_RTC_BlockParticipant.
LocalUserId: EOS_ProductUserIdThe Product User ID of the user who initiated this request.
RoomName: *const c_charThe room the users should be blocked on.
ParticipantId: EOS_ProductUserIdThe Product User ID of the participant being blocked
bBlocked: EOS_BoolThe block state that should have been set
Trait Implementations§
Source§impl Clone for _tagEOS_RTC_BlockParticipantCallbackInfo
impl Clone for _tagEOS_RTC_BlockParticipantCallbackInfo
Source§fn clone(&self) -> _tagEOS_RTC_BlockParticipantCallbackInfo
fn clone(&self) -> _tagEOS_RTC_BlockParticipantCallbackInfo
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 moreimpl Copy for _tagEOS_RTC_BlockParticipantCallbackInfo
Auto Trait Implementations§
impl Freeze for _tagEOS_RTC_BlockParticipantCallbackInfo
impl RefUnwindSafe for _tagEOS_RTC_BlockParticipantCallbackInfo
impl !Send for _tagEOS_RTC_BlockParticipantCallbackInfo
impl !Sync for _tagEOS_RTC_BlockParticipantCallbackInfo
impl Unpin for _tagEOS_RTC_BlockParticipantCallbackInfo
impl UnsafeUnpin for _tagEOS_RTC_BlockParticipantCallbackInfo
impl UnwindSafe for _tagEOS_RTC_BlockParticipantCallbackInfo
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