pub struct Contact {
pub contact_id: i64,
pub contact_type: ContactType,
pub is_blocked: Option<bool>,
pub is_watched: Option<bool>,
pub label_ids: Vec<i64>,
pub standing: f64,
}Expand description
A contact of a character, corporation or alliance.
Fields§
§contact_id: i64ID of the contact.
contact_type: ContactTypeKind of the contact.
is_blocked: Option<bool>Whether the contact is blocked (character contacts only).
is_watched: Option<bool>Whether the contact is watched (character and corporation contacts only).
label_ids: Vec<i64>IDs of the labels attached to the contact.
standing: f64Standing of the contact, from -10.0 to 10.0.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Contact
impl<'de> Deserialize<'de> for Contact
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
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnsafeUnpin for Contact
impl UnwindSafe for Contact
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