pub struct TaskSubmission {
pub task_id: TaskId,
pub log: Url,
}Expand description
Result of submitting a task to the Internet Archive tasks API.
Fields§
§task_id: TaskIdQueued task identifier returned by the tasks API.
log: UrlURL of the task log file.
Trait Implementations§
Source§impl Clone for TaskSubmission
impl Clone for TaskSubmission
Source§fn clone(&self) -> TaskSubmission
fn clone(&self) -> TaskSubmission
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 TaskSubmission
impl Debug for TaskSubmission
Source§impl<'de> Deserialize<'de> for TaskSubmission
impl<'de> Deserialize<'de> for TaskSubmission
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 TaskSubmission
impl PartialEq for TaskSubmission
Source§fn eq(&self, other: &TaskSubmission) -> bool
fn eq(&self, other: &TaskSubmission) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TaskSubmission
impl Serialize for TaskSubmission
impl StructuralPartialEq for TaskSubmission
Auto Trait Implementations§
impl Freeze for TaskSubmission
impl RefUnwindSafe for TaskSubmission
impl Send for TaskSubmission
impl Sync for TaskSubmission
impl Unpin for TaskSubmission
impl UnsafeUnpin for TaskSubmission
impl UnwindSafe for TaskSubmission
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