#[repr(C)]pub struct _tagEOS_KWS_QueryAgeGateCallbackInfo {
pub ResultCode: EOS_EResult,
pub ClientData: *mut c_void,
pub CountryCode: *const c_char,
pub AgeOfConsent: u32,
}Expand description
Output parameters for the EOS_KWS_QueryAgeGate Function. These parameters are received through the callback provided to EOS_KWS_QueryAgeGate
Fields§
§ResultCode: EOS_EResultThe EOS_EResult code for the operation. EOS_Success indicates that the operation succeeded; other codes indicate errors.
ClientData: *mut c_voidContext that was passed into EOS_KWS_QueryAgeGate
CountryCode: *const c_charCountry code determined for this request based on the local client’s ip address that the backend resolves
AgeOfConsent: u32Age of consent in the given country
Trait Implementations§
Source§impl Clone for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl Clone for _tagEOS_KWS_QueryAgeGateCallbackInfo
Source§fn clone(&self) -> _tagEOS_KWS_QueryAgeGateCallbackInfo
fn clone(&self) -> _tagEOS_KWS_QueryAgeGateCallbackInfo
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_KWS_QueryAgeGateCallbackInfo
Auto Trait Implementations§
impl Freeze for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl RefUnwindSafe for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl !Send for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl !Sync for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl Unpin for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl UnsafeUnpin for _tagEOS_KWS_QueryAgeGateCallbackInfo
impl UnwindSafe for _tagEOS_KWS_QueryAgeGateCallbackInfo
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