pub struct RemoteConfiguration {
pub remote_type: u8,
pub minimum_repeats: u16,
pub callback_enabled: bool,
}
Fields
remote_type: u8
minimum_repeats: u16
callback_enabled: bool
Trait Implementations
sourceimpl Clone for RemoteConfiguration
impl Clone for RemoteConfiguration
sourcefn clone(&self) -> RemoteConfiguration
fn clone(&self) -> RemoteConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RemoteConfiguration
impl Debug for RemoteConfiguration
sourceimpl Default for RemoteConfiguration
impl Default for RemoteConfiguration
sourcefn default() -> RemoteConfiguration
fn default() -> RemoteConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for RemoteConfiguration
impl FromByteSlice for RemoteConfiguration
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> RemoteConfiguration
fn from_le_bytes(bytes: &[u8]) -> RemoteConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for RemoteConfiguration
impl Hash for RemoteConfiguration
sourceimpl PartialEq<RemoteConfiguration> for RemoteConfiguration
impl PartialEq<RemoteConfiguration> for RemoteConfiguration
sourcefn eq(&self, other: &RemoteConfiguration) -> bool
fn eq(&self, other: &RemoteConfiguration) -> bool
impl Copy for RemoteConfiguration
impl Eq for RemoteConfiguration
impl StructuralEq for RemoteConfiguration
impl StructuralPartialEq for RemoteConfiguration
Auto Trait Implementations
impl RefUnwindSafe for RemoteConfiguration
impl Send for RemoteConfiguration
impl Sync for RemoteConfiguration
impl Unpin for RemoteConfiguration
impl UnwindSafe for RemoteConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more