Struct jyve::model::JobWithTasks

source ·
pub struct JobWithTasks {
Show 84 fields pub backstock_delivery: Option<BackstockDelivery>, pub banner_id: Option<i64>, pub banner_name: Option<String>, pub brand_fee: Option<String>, pub brand_id: Option<i64>, pub brand_name: Option<String>, pub brand_public_id: Option<String>, pub case_breakdown: Option<String>, pub cases: Option<i64>, pub claim_method: Option<String>, pub claimable_at: Option<String>, pub claimed_jyve_along_count: Option<String>, pub client_id: Option<i64>, pub completed_location: Option<String>, pub completed_location_accuracy: Option<f64>, pub completed_location_acquired_at: Option<DateTime<Utc>>, pub completed_location_service_enabled: Option<bool>, pub created_at: DateTime<Utc>, pub credential_granted_id: Option<i64>, pub credential_granted_name: Option<String>, pub credential_requirements: Option<String>, pub customer_support_issue: Option<String>, pub data: Option<Value>, pub date_becomes_urgent: Option<String>, pub date_completed: DateTime<Utc>, pub date_reserved: DateTime<Utc>, pub date_started: DateTime<Utc>, pub description: String, pub estimated_time: Option<String>, pub feedback: Option<String>, pub id: Option<i64>, pub initial_demand_source: Option<String>, pub is_jyve_along_eligible: Option<String>, pub is_manual: Option<bool>, pub is_recurring: Option<String>, pub is_shared: Option<bool>, pub is_upgraded_to_jyve_along: bool, pub is_virtual: Option<bool>, pub job_finish_before: Option<DateTime<Utc>>, pub job_start_after: Option<DateTime<Utc>>, pub jyver_job_id: String, pub jyver_payout: Option<String>, pub match_: Option<String>, pub name: String, pub new_jyver_confirmed_eta: Option<String>, pub notes: Option<String>, pub num_jobs_completed_of_brand_by_user: Option<String>, pub original_payout: Option<String>, pub payout: Option<String>, pub payout_increase_amount: Option<String>, pub planned_start_after: Option<DateTime<Utc>>, pub planned_start_before: Option<DateTime<Utc>>, pub planned_start_time_is_required: Option<String>, pub product_types: Option<String>, pub ratings: Option<String>, pub repair_type_fees: Option<String>, pub reviews: Option<String>, pub should_request_start_time: Option<String>, pub skills_demo_planned_start_time: Option<String>, pub start_after_with_grace_period: Option<String>, pub started_location: Option<String>, pub started_location_accuracy: Option<f64>, pub started_location_acquired_at: Option<DateTime<Utc>>, pub started_location_service_enabled: Option<bool>, pub stats_rollup: Option<String>, pub status: Option<String>, pub status_new: String, pub stocking_fee: Option<String>, pub store_location_address: Option<String>, pub store_location_geo_point: Option<String>, pub store_location_id: Option<i64>, pub store_location_self_identity: Option<String>, pub store_location_timezone: String, pub store_refusal_fee: Option<String>, pub task_count: Option<String>, pub tasks: Vec<TaskSerializerWithPurposes>, pub teams: Option<String>, pub time_expectation: Option<String>, pub time_expectation_description: Option<String>, pub type_: Option<String>, pub upcs: Option<String>, pub updated_at: DateTime<Utc>, pub upgraded_to_jyve_along_at: DateTime<Utc>, pub user: Option<User>,
}

Fields§

§backstock_delivery: Option<BackstockDelivery>§banner_id: Option<i64>§banner_name: Option<String>§brand_fee: Option<String>§brand_id: Option<i64>§brand_name: Option<String>§brand_public_id: Option<String>§case_breakdown: Option<String>§cases: Option<i64>§claim_method: Option<String>§claimable_at: Option<String>§claimed_jyve_along_count: Option<String>§client_id: Option<i64>§completed_location: Option<String>§completed_location_accuracy: Option<f64>§completed_location_acquired_at: Option<DateTime<Utc>>§completed_location_service_enabled: Option<bool>§created_at: DateTime<Utc>§credential_granted_id: Option<i64>§credential_granted_name: Option<String>§credential_requirements: Option<String>§customer_support_issue: Option<String>§data: Option<Value>§date_becomes_urgent: Option<String>§date_completed: DateTime<Utc>§date_reserved: DateTime<Utc>§date_started: DateTime<Utc>§description: String§estimated_time: Option<String>§feedback: Option<String>§id: Option<i64>§initial_demand_source: Option<String>§is_jyve_along_eligible: Option<String>§is_manual: Option<bool>§is_recurring: Option<String>§is_shared: Option<bool>§is_upgraded_to_jyve_along: bool§is_virtual: Option<bool>§job_finish_before: Option<DateTime<Utc>>§job_start_after: Option<DateTime<Utc>>§jyver_job_id: String§jyver_payout: Option<String>§match_: Option<String>§name: String§new_jyver_confirmed_eta: Option<String>§notes: Option<String>§num_jobs_completed_of_brand_by_user: Option<String>§original_payout: Option<String>§payout: Option<String>§payout_increase_amount: Option<String>§planned_start_after: Option<DateTime<Utc>>§planned_start_before: Option<DateTime<Utc>>§planned_start_time_is_required: Option<String>§product_types: Option<String>§ratings: Option<String>§repair_type_fees: Option<String>§reviews: Option<String>§should_request_start_time: Option<String>§skills_demo_planned_start_time: Option<String>§start_after_with_grace_period: Option<String>§started_location: Option<String>§started_location_accuracy: Option<f64>§started_location_acquired_at: Option<DateTime<Utc>>§started_location_service_enabled: Option<bool>§stats_rollup: Option<String>§status: Option<String>§status_new: String§stocking_fee: Option<String>§store_location_address: Option<String>§store_location_geo_point: Option<String>§store_location_id: Option<i64>§store_location_self_identity: Option<String>§store_location_timezone: String§store_refusal_fee: Option<String>§task_count: Option<String>§tasks: Vec<TaskSerializerWithPurposes>§teams: Option<String>§time_expectation: Option<String>§time_expectation_description: Option<String>§type_: Option<String>§upcs: Option<String>§updated_at: DateTime<Utc>§upgraded_to_jyve_along_at: DateTime<Utc>§user: Option<User>

Trait Implementations§

source§

impl Clone for JobWithTasks

source§

fn clone(&self) -> JobWithTasks

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for JobWithTasks

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for JobWithTasks

source§

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 Display for JobWithTasks

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Serialize for JobWithTasks

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,