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
sourceimpl<'de> Deserialize<'de> for Objective
impl<'de> Deserialize<'de> for Objective
sourcefn 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 RefUnwindSafe for Objective
impl Send for Objective
impl Sync for Objective
impl Unpin for Objective
impl UnwindSafe for Objective
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more