pub struct Objective {
pub id: String,
pub type: String,
pub owner: String,
pub last_flipped: DateTime<Utc>,
pub claimed_by: Option<String>,
pub claimed_at: Option<DateTime<Utc>>,
pub points_tick: u64,
pub points_capture: u64,
pub yaks_delivered: Option<u64>,
pub guild_upgrades: Option<Vec<u64>>,
}
Fields§
§id: String
§type: String
§owner: String
§last_flipped: DateTime<Utc>
§claimed_by: Option<String>
§claimed_at: Option<DateTime<Utc>>
§points_tick: u64
§points_capture: u64
§yaks_delivered: Option<u64>
Only for camps, towers and keeps (and sm)
guild_upgrades: Option<Vec<u64>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Objective
impl<'de> Deserialize<'de> for Objective
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 Objective
impl RefUnwindSafe for Objective
impl Send for Objective
impl Sync for Objective
impl Unpin for Objective
impl UnwindSafe for Objective
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