pub struct AttackCode(pub String);
Tuple Fields§
§0: String
Implementations§
Source§impl AttackCode
impl AttackCode
Trait Implementations§
Source§impl Clone for AttackCode
impl Clone for AttackCode
Source§fn clone(&self) -> AttackCode
fn clone(&self) -> AttackCode
Returns a copy 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 AttackCode
impl Debug for AttackCode
Source§impl<'de> Deserialize<'de> for AttackCode
impl<'de> Deserialize<'de> for AttackCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AttackCode
impl Display for AttackCode
Source§impl From<AttackCode> for String
impl From<AttackCode> for String
Source§fn from(outer: AttackCode) -> Self
fn from(outer: AttackCode) -> Self
Converts to this type from the input type.
Source§impl From<String> for AttackCode
impl From<String> for AttackCode
Source§impl Hash for AttackCode
impl Hash for AttackCode
Source§impl PartialEq for AttackCode
impl PartialEq for AttackCode
impl Eq for AttackCode
impl StructuralPartialEq for AttackCode
Auto Trait Implementations§
impl Freeze for AttackCode
impl RefUnwindSafe for AttackCode
impl Send for AttackCode
impl Sync for AttackCode
impl Unpin for AttackCode
impl UnwindSafe for AttackCode
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