pub struct SentientOutpostsMission {
pub node: String,
pub type: MissionType,
pub faction: Faction,
}Fields§
§node: StringLocalized node name
type: MissionType§faction: FactionImplementations§
Source§impl SentientOutpostsMission
impl SentientOutpostsMission
pub fn new( node: String, type: MissionType, faction: Faction, ) -> SentientOutpostsMission
Trait Implementations§
Source§impl Clone for SentientOutpostsMission
impl Clone for SentientOutpostsMission
Source§fn clone(&self) -> SentientOutpostsMission
fn clone(&self) -> SentientOutpostsMission
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 SentientOutpostsMission
impl Debug for SentientOutpostsMission
Source§impl Default for SentientOutpostsMission
impl Default for SentientOutpostsMission
Source§fn default() -> SentientOutpostsMission
fn default() -> SentientOutpostsMission
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SentientOutpostsMission
impl<'de> Deserialize<'de> for SentientOutpostsMission
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 SentientOutpostsMission
impl PartialEq for SentientOutpostsMission
Source§impl Serialize for SentientOutpostsMission
impl Serialize for SentientOutpostsMission
impl StructuralPartialEq for SentientOutpostsMission
Auto Trait Implementations§
impl Freeze for SentientOutpostsMission
impl RefUnwindSafe for SentientOutpostsMission
impl Send for SentientOutpostsMission
impl Sync for SentientOutpostsMission
impl Unpin for SentientOutpostsMission
impl UnwindSafe for SentientOutpostsMission
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