Struct asana::models::job_compact::JobCompact
source · [−]pub struct JobCompact {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub resource_subtype: Option<String>,
pub status: Option<Status>,
pub new_project: Option<Box<ProjectCompact>>,
pub new_task: Option<Box<TaskCompact>>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
resource_subtype: Option<String>
The subtype of this resource. Different subtypes retain many of the same fields and behavior, but may render differently in Asana or represent resources with different semantic meaning.
status: Option<Status>
new_project: Option<Box<ProjectCompact>>
new_task: Option<Box<TaskCompact>>
Implementations
sourceimpl JobCompact
impl JobCompact
pub fn new() -> JobCompact
Trait Implementations
sourceimpl Clone for JobCompact
impl Clone for JobCompact
sourcefn clone(&self) -> JobCompact
fn clone(&self) -> JobCompact
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for JobCompact
impl Debug for JobCompact
sourceimpl<'de> Deserialize<'de> for JobCompact
impl<'de> Deserialize<'de> for JobCompact
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
sourceimpl PartialEq<JobCompact> for JobCompact
impl PartialEq<JobCompact> for JobCompact
sourcefn eq(&self, other: &JobCompact) -> bool
fn eq(&self, other: &JobCompact) -> bool
sourceimpl Serialize for JobCompact
impl Serialize for JobCompact
impl StructuralPartialEq for JobCompact
Auto Trait Implementations
impl RefUnwindSafe for JobCompact
impl Send for JobCompact
impl Sync for JobCompact
impl Unpin for JobCompact
impl UnwindSafe for JobCompact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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