pub struct CorporationTitle {
pub grantable_roles: Vec<CorporationRole>,
pub grantable_roles_at_base: Vec<CorporationRole>,
pub grantable_roles_at_hq: Vec<CorporationRole>,
pub grantable_roles_at_other: Vec<CorporationRole>,
pub name: Option<String>,
pub roles: Vec<CorporationRole>,
pub roles_at_base: Vec<CorporationRole>,
pub roles_at_hq: Vec<CorporationRole>,
pub roles_at_other: Vec<CorporationRole>,
pub title_id: Option<i64>,
}Expand description
A corporation title.
Fields§
§grantable_roles: Vec<CorporationRole>Roles the title can grant.
grantable_roles_at_base: Vec<CorporationRole>Roles the title can grant at the base.
grantable_roles_at_hq: Vec<CorporationRole>Roles the title can grant at the headquarters.
grantable_roles_at_other: Vec<CorporationRole>Roles the title can grant at other locations.
name: Option<String>Name of the title.
roles: Vec<CorporationRole>Roles of the title.
roles_at_base: Vec<CorporationRole>Roles of the title at the base.
roles_at_hq: Vec<CorporationRole>Roles of the title at the headquarters.
roles_at_other: Vec<CorporationRole>Roles of the title at other locations.
title_id: Option<i64>ID of the title.
Trait Implementations§
Source§impl Clone for CorporationTitle
impl Clone for CorporationTitle
Source§impl Debug for CorporationTitle
impl Debug for CorporationTitle
Source§impl<'de> Deserialize<'de> for CorporationTitle
impl<'de> Deserialize<'de> for CorporationTitle
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
impl Eq for CorporationTitle
Source§impl PartialEq for CorporationTitle
impl PartialEq for CorporationTitle
Source§impl Serialize for CorporationTitle
impl Serialize for CorporationTitle
impl StructuralPartialEq for CorporationTitle
Auto Trait Implementations§
impl Freeze for CorporationTitle
impl RefUnwindSafe for CorporationTitle
impl Send for CorporationTitle
impl Sync for CorporationTitle
impl Unpin for CorporationTitle
impl UnsafeUnpin for CorporationTitle
impl UnwindSafe for CorporationTitle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.