pub struct MetadataWriteResponse {
pub success: bool,
pub task_id: Option<TaskId>,
pub log: Option<Url>,
pub error: Option<String>,
}Expand description
Response returned by MDAPI metadata writes.
Fields§
§success: boolWhether the request was accepted.
task_id: Option<TaskId>Queued task identifier.
log: Option<Url>Log URL for the queued task.
error: Option<String>Error message when success is false.
Trait Implementations§
Source§impl Clone for MetadataWriteResponse
impl Clone for MetadataWriteResponse
Source§fn clone(&self) -> MetadataWriteResponse
fn clone(&self) -> MetadataWriteResponse
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 MetadataWriteResponse
impl Debug for MetadataWriteResponse
Source§impl<'de> Deserialize<'de> for MetadataWriteResponse
impl<'de> Deserialize<'de> for MetadataWriteResponse
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 MetadataWriteResponse
impl PartialEq for MetadataWriteResponse
Source§fn eq(&self, other: &MetadataWriteResponse) -> bool
fn eq(&self, other: &MetadataWriteResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetadataWriteResponse
impl Serialize for MetadataWriteResponse
impl StructuralPartialEq for MetadataWriteResponse
Auto Trait Implementations§
impl Freeze for MetadataWriteResponse
impl RefUnwindSafe for MetadataWriteResponse
impl Send for MetadataWriteResponse
impl Sync for MetadataWriteResponse
impl Unpin for MetadataWriteResponse
impl UnsafeUnpin for MetadataWriteResponse
impl UnwindSafe for MetadataWriteResponse
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