pub struct RetrieveJobResponse {
pub job: Option<Box<Job>>,
pub errors: Option<Vec<Error>>,
}Expand description
RetrieveJobResponse : Represents a RetrieveJob response. Either job or errors is present in the response.
Fields§
§job: Option<Box<Job>>§errors: Option<Vec<Error>>The errors that occurred during the request.
Implementations§
Source§impl RetrieveJobResponse
impl RetrieveJobResponse
Sourcepub fn new() -> RetrieveJobResponse
pub fn new() -> RetrieveJobResponse
Represents a RetrieveJob response. Either job or errors is present in the response.
Trait Implementations§
Source§impl Clone for RetrieveJobResponse
impl Clone for RetrieveJobResponse
Source§fn clone(&self) -> RetrieveJobResponse
fn clone(&self) -> RetrieveJobResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetrieveJobResponse
impl Debug for RetrieveJobResponse
Source§impl Default for RetrieveJobResponse
impl Default for RetrieveJobResponse
Source§fn default() -> RetrieveJobResponse
fn default() -> RetrieveJobResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrieveJobResponse
impl<'de> Deserialize<'de> for RetrieveJobResponse
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 RetrieveJobResponse
impl PartialEq for RetrieveJobResponse
Source§impl Serialize for RetrieveJobResponse
impl Serialize for RetrieveJobResponse
impl StructuralPartialEq for RetrieveJobResponse
Auto Trait Implementations§
impl Freeze for RetrieveJobResponse
impl RefUnwindSafe for RetrieveJobResponse
impl Send for RetrieveJobResponse
impl Sync for RetrieveJobResponse
impl Unpin for RetrieveJobResponse
impl UnsafeUnpin for RetrieveJobResponse
impl UnwindSafe for RetrieveJobResponse
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