pub struct ForgeryCount(/* private fields */);Expand description
Represents the forgery count.
Implementations§
Source§impl ForgeryCount
impl ForgeryCount
Sourcepub const fn new() -> ForgeryCount
pub const fn new() -> ForgeryCount
Creates a new ForgeryCount.
Sourcepub const fn create(val: u32) -> ForgeryCount
pub const fn create(val: u32) -> ForgeryCount
Creates a new ForgeryCount from the provided parameter.
Sourcepub fn into_inner(self) -> u32
pub fn into_inner(self) -> u32
Converts into the inner representation of ForgeryCount.
Trait Implementations§
Source§impl Clone for ForgeryCount
impl Clone for ForgeryCount
Source§fn clone(&self) -> ForgeryCount
fn clone(&self) -> ForgeryCount
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 ForgeryCount
impl Debug for ForgeryCount
Source§impl Default for ForgeryCount
impl Default for ForgeryCount
Source§fn default() -> ForgeryCount
fn default() -> ForgeryCount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForgeryCount
impl<'de> Deserialize<'de> for ForgeryCount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForgeryCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForgeryCount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ForgeryCount
impl Display for ForgeryCount
Source§impl From<&ForgeryCount> for XfsMember
impl From<&ForgeryCount> for XfsMember
Source§fn from(val: &ForgeryCount) -> XfsMember
fn from(val: &ForgeryCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<&ForgeryCount> for XfsValue
impl From<&ForgeryCount> for XfsValue
Source§fn from(val: &ForgeryCount) -> XfsValue
fn from(val: &ForgeryCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<&i32> for ForgeryCount
impl From<&i32> for ForgeryCount
Source§fn from(val: &i32) -> ForgeryCount
fn from(val: &i32) -> ForgeryCount
Converts to this type from the input type.
Source§impl From<&u32> for ForgeryCount
impl From<&u32> for ForgeryCount
Source§fn from(val: &u32) -> ForgeryCount
fn from(val: &u32) -> ForgeryCount
Converts to this type from the input type.
Source§impl From<ForgeryCount> for XfsMember
impl From<ForgeryCount> for XfsMember
Source§fn from(val: ForgeryCount) -> XfsMember
fn from(val: ForgeryCount) -> XfsMember
Converts to this type from the input type.
Source§impl From<ForgeryCount> for XfsValue
impl From<ForgeryCount> for XfsValue
Source§fn from(val: ForgeryCount) -> XfsValue
fn from(val: ForgeryCount) -> XfsValue
Converts to this type from the input type.
Source§impl From<i32> for ForgeryCount
impl From<i32> for ForgeryCount
Source§fn from(val: i32) -> ForgeryCount
fn from(val: i32) -> ForgeryCount
Converts to this type from the input type.
Source§impl From<u32> for ForgeryCount
impl From<u32> for ForgeryCount
Source§fn from(val: u32) -> ForgeryCount
fn from(val: u32) -> ForgeryCount
Converts to this type from the input type.
Source§impl PartialEq for ForgeryCount
impl PartialEq for ForgeryCount
Source§impl Serialize for ForgeryCount
impl Serialize for ForgeryCount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for ForgeryCount
impl TryFrom<&XfsMember> for ForgeryCount
Source§impl TryFrom<&XfsValue> for ForgeryCount
impl TryFrom<&XfsValue> for ForgeryCount
Source§impl TryFrom<XfsMember> for ForgeryCount
impl TryFrom<XfsMember> for ForgeryCount
Source§impl TryFrom<XfsValue> for ForgeryCount
impl TryFrom<XfsValue> for ForgeryCount
impl Copy for ForgeryCount
impl Eq for ForgeryCount
impl StructuralPartialEq for ForgeryCount
Auto Trait Implementations§
impl Freeze for ForgeryCount
impl RefUnwindSafe for ForgeryCount
impl Send for ForgeryCount
impl Sync for ForgeryCount
impl Unpin for ForgeryCount
impl UnwindSafe for ForgeryCount
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