pub struct OperationsCheckResponse {
pub combined: Vec<String>,
pub differ: Vec<String>,
pub error: Vec<String>,
pub hash_type: Option<String>,
pub match_: Vec<String>,
pub missing_on_dst: Vec<String>,
pub missing_on_src: Vec<String>,
pub status: String,
pub success: bool,
}Expand description
OperationsCheckResponse
JSON schema
{
"type": "object",
"required": [
"status",
"success"
],
"properties": {
"combined": {
"description": "Combined summary lines when `combined=true` is
requested.",
"type": "array",
"items": {
"type": "string"
}
},
"differ": {
"description": "Files that differed between source and
destination.",
"type": "array",
"items": {
"type": "string"
}
},
"error": {
"description": "Entries that produced errors during the check.",
"type": "array",
"items": {
"type": "string"
}
},
"hashType": {
"description": "Hash algorithm used for comparisons when
applicable.",
"type": "string"
},
"match": {
"description": "Files that matched on both sides.",
"type": "array",
"items": {
"type": "string"
}
},
"missingOnDst": {
"description": "Files present on the source but missing from the
destination.",
"type": "array",
"items": {
"type": "string"
}
},
"missingOnSrc": {
"description": "Files present on the destination but missing from
the source.",
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"description": "Human readable status string.",
"type": "string"
},
"success": {
"description": "True when the check completes without differences
or errors.",
"type": "boolean"
}
}
}Fields§
§combined: Vec<String>Combined summary lines when combined=true is requested.
differ: Vec<String>Files that differed between source and destination.
error: Vec<String>Entries that produced errors during the check.
hash_type: Option<String>Hash algorithm used for comparisons when applicable.
match_: Vec<String>Files that matched on both sides.
missing_on_dst: Vec<String>Files present on the source but missing from the destination.
missing_on_src: Vec<String>Files present on the destination but missing from the source.
status: StringHuman readable status string.
success: boolTrue when the check completes without differences or errors.
Trait Implementations§
Source§impl Clone for OperationsCheckResponse
impl Clone for OperationsCheckResponse
Source§fn clone(&self) -> OperationsCheckResponse
fn clone(&self) -> OperationsCheckResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 OperationsCheckResponse
impl Debug for OperationsCheckResponse
Source§impl<'de> Deserialize<'de> for OperationsCheckResponse
impl<'de> Deserialize<'de> for OperationsCheckResponse
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 From<&OperationsCheckResponse> for OperationsCheckResponse
impl From<&OperationsCheckResponse> for OperationsCheckResponse
Source§fn from(value: &OperationsCheckResponse) -> Self
fn from(value: &OperationsCheckResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsCheckResponse
impl RefUnwindSafe for OperationsCheckResponse
impl Send for OperationsCheckResponse
impl Sync for OperationsCheckResponse
impl Unpin for OperationsCheckResponse
impl UnwindSafe for OperationsCheckResponse
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