pub struct UserOrganizedCrimeError {
pub code: Code,
pub error: String,
}
Fields§
§code: Code
§error: String
Trait Implementations§
Source§impl Clone for UserOrganizedCrimeError
impl Clone for UserOrganizedCrimeError
Source§fn clone(&self) -> UserOrganizedCrimeError
fn clone(&self) -> UserOrganizedCrimeError
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 UserOrganizedCrimeError
impl Debug for UserOrganizedCrimeError
Source§impl<'de> Deserialize<'de> for UserOrganizedCrimeError
impl<'de> Deserialize<'de> for UserOrganizedCrimeError
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 From<UserOrganizedCrimeError> for OrganizedCrime
impl From<UserOrganizedCrimeError> for OrganizedCrime
Source§fn from(value: UserOrganizedCrimeError) -> Self
fn from(value: UserOrganizedCrimeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UserOrganizedCrimeError
impl PartialEq for UserOrganizedCrimeError
impl StructuralPartialEq for UserOrganizedCrimeError
Auto Trait Implementations§
impl Freeze for UserOrganizedCrimeError
impl RefUnwindSafe for UserOrganizedCrimeError
impl Send for UserOrganizedCrimeError
impl Sync for UserOrganizedCrimeError
impl Unpin for UserOrganizedCrimeError
impl UnwindSafe for UserOrganizedCrimeError
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