pub struct CsmRestrictionFlagsSpec {
pub csm_restriction_flags: u64,
pub csm_restriction_noderange: u32,
}
Fields§
§csm_restriction_flags: u64
§csm_restriction_noderange: u32
Trait Implementations§
Source§impl Clone for CsmRestrictionFlagsSpec
impl Clone for CsmRestrictionFlagsSpec
Source§fn clone(&self) -> CsmRestrictionFlagsSpec
fn clone(&self) -> CsmRestrictionFlagsSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CsmRestrictionFlagsSpec
impl Debug for CsmRestrictionFlagsSpec
Source§impl Deserialize for CsmRestrictionFlagsSpec
impl Deserialize for CsmRestrictionFlagsSpec
Source§type Output = CsmRestrictionFlagsSpec
type Output = CsmRestrictionFlagsSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<CsmRestrictionFlagsSpec> for ToClientCommand
impl From<CsmRestrictionFlagsSpec> for ToClientCommand
Source§fn from(value: CsmRestrictionFlagsSpec) -> Self
fn from(value: CsmRestrictionFlagsSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CsmRestrictionFlagsSpec
impl PartialEq for CsmRestrictionFlagsSpec
Source§fn eq(&self, other: &CsmRestrictionFlagsSpec) -> bool
fn eq(&self, other: &CsmRestrictionFlagsSpec) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for CsmRestrictionFlagsSpec
impl Serialize for CsmRestrictionFlagsSpec
type Input = CsmRestrictionFlagsSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for CsmRestrictionFlagsSpec
Auto Trait Implementations§
impl Freeze for CsmRestrictionFlagsSpec
impl RefUnwindSafe for CsmRestrictionFlagsSpec
impl Send for CsmRestrictionFlagsSpec
impl Sync for CsmRestrictionFlagsSpec
impl Unpin for CsmRestrictionFlagsSpec
impl UnwindSafe for CsmRestrictionFlagsSpec
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