pub struct DataTypeDefinition {
pub id: DataType,
pub name: &'static str,
pub description: &'static str,
pub element: MessageElement,
pub endpoints: &'static [DataEndpoint],
pub reliable: ReliableMode,
pub priority: u8,
pub e2e_encryption: E2eEncryptionPolicy,
}Fields§
§id: DataType§name: &'static str§description: &'static str§element: MessageElement§endpoints: &'static [DataEndpoint]§reliable: ReliableMode§priority: u8§e2e_encryption: E2eEncryptionPolicyTrait Implementations§
Source§impl Clone for DataTypeDefinition
impl Clone for DataTypeDefinition
Source§fn clone(&self) -> DataTypeDefinition
fn clone(&self) -> DataTypeDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DataTypeDefinition
Source§impl Debug for DataTypeDefinition
impl Debug for DataTypeDefinition
impl Eq for DataTypeDefinition
Source§impl PartialEq for DataTypeDefinition
impl PartialEq for DataTypeDefinition
Source§fn eq(&self, other: &DataTypeDefinition) -> bool
fn eq(&self, other: &DataTypeDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DataTypeDefinition
Auto Trait Implementations§
impl Freeze for DataTypeDefinition
impl RefUnwindSafe for DataTypeDefinition
impl Send for DataTypeDefinition
impl Sync for DataTypeDefinition
impl Unpin for DataTypeDefinition
impl UnsafeUnpin for DataTypeDefinition
impl UnwindSafe for DataTypeDefinition
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