pub struct SpamOwnershipResponse {
pub result: bool,
pub source: Source,
}Fields§
§result: boolToken spam result
source: SourceSource of Token’s Spam status value
Implementations§
Source§impl SpamOwnershipResponse
impl SpamOwnershipResponse
pub fn new(result: bool, source: Source) -> SpamOwnershipResponse
Trait Implementations§
Source§impl Clone for SpamOwnershipResponse
impl Clone for SpamOwnershipResponse
Source§fn clone(&self) -> SpamOwnershipResponse
fn clone(&self) -> SpamOwnershipResponse
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 SpamOwnershipResponse
impl Debug for SpamOwnershipResponse
Source§impl Default for SpamOwnershipResponse
impl Default for SpamOwnershipResponse
Source§fn default() -> SpamOwnershipResponse
fn default() -> SpamOwnershipResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SpamOwnershipResponse
impl<'de> Deserialize<'de> for SpamOwnershipResponse
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 PartialEq for SpamOwnershipResponse
impl PartialEq for SpamOwnershipResponse
Source§impl Serialize for SpamOwnershipResponse
impl Serialize for SpamOwnershipResponse
impl StructuralPartialEq for SpamOwnershipResponse
Auto Trait Implementations§
impl Freeze for SpamOwnershipResponse
impl RefUnwindSafe for SpamOwnershipResponse
impl Send for SpamOwnershipResponse
impl Sync for SpamOwnershipResponse
impl Unpin for SpamOwnershipResponse
impl UnwindSafe for SpamOwnershipResponse
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