#[repr(C)]pub struct _tagEOS_RTC_Option {
pub ApiVersion: i32,
pub Key: *const c_char,
pub Value: *const c_char,
}Expand description
This struct is used to get information about a specific option.
Fields§
§ApiVersion: i32API Version: Set this to EOS_RTC_OPTION_API_LATEST.
Key: *const c_charThe unique key of the option. The max size of the string is EOS_RTC_OPTION_KEY_MAXCHARCOUNT.
Value: *const c_charThe value of the option. The max size of the string is EOS_RTC_OPTION_VALUE_MAXCHARCOUNT.
Trait Implementations§
Source§impl Clone for _tagEOS_RTC_Option
impl Clone for _tagEOS_RTC_Option
Source§fn clone(&self) -> _tagEOS_RTC_Option
fn clone(&self) -> _tagEOS_RTC_Option
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 _tagEOS_RTC_Option
impl Debug for _tagEOS_RTC_Option
Source§impl Default for _tagEOS_RTC_Option
impl Default for _tagEOS_RTC_Option
impl Copy for _tagEOS_RTC_Option
Auto Trait Implementations§
impl Freeze for _tagEOS_RTC_Option
impl RefUnwindSafe for _tagEOS_RTC_Option
impl !Send for _tagEOS_RTC_Option
impl !Sync for _tagEOS_RTC_Option
impl Unpin for _tagEOS_RTC_Option
impl UnsafeUnpin for _tagEOS_RTC_Option
impl UnwindSafe for _tagEOS_RTC_Option
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