pub struct OperationsHashsumRequest {
pub async_: Option<bool>,
pub base64: Option<bool>,
pub download: Option<bool>,
pub fs: Option<String>,
pub group: Option<String>,
pub hash_type: Option<String>,
}Expand description
OperationsHashsumRequest
JSON schema
{
"type": "object",
"properties": {
"_async": {
"description": "Run the command asynchronously. Returns a job id
immediately.",
"type": "boolean"
},
"_group": {
"description": "Assign the request to a custom stats group.",
"type": "string"
},
"base64": {
"description": "Set to true to emit hash values in base64 rather
than hexadecimal.",
"type": "boolean"
},
"download": {
"description": "Set to true to force reading the data instead of
using remote checksums.",
"type": "boolean"
},
"fs": {
"description": "Remote name or path to hash, such as `drive:` or
`/`.",
"type": "string"
},
"hashType": {
"description": "Hash algorithm to use, e.g. `md5`, `sha1`, or
another supported name.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
base64: Option<bool>Set to true to emit hash values in base64 rather than hexadecimal.
download: Option<bool>Set to true to force reading the data instead of using remote checksums.
fs: Option<String>Remote name or path to hash, such as drive: or /.
group: Option<String>Assign the request to a custom stats group.
hash_type: Option<String>Hash algorithm to use, e.g. md5, sha1, or another supported
name.
Trait Implementations§
Source§impl Clone for OperationsHashsumRequest
impl Clone for OperationsHashsumRequest
Source§fn clone(&self) -> OperationsHashsumRequest
fn clone(&self) -> OperationsHashsumRequest
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 OperationsHashsumRequest
impl Debug for OperationsHashsumRequest
Source§impl Default for OperationsHashsumRequest
impl Default for OperationsHashsumRequest
Source§impl<'de> Deserialize<'de> for OperationsHashsumRequest
impl<'de> Deserialize<'de> for OperationsHashsumRequest
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<&OperationsHashsumRequest> for OperationsHashsumRequest
impl From<&OperationsHashsumRequest> for OperationsHashsumRequest
Source§fn from(value: &OperationsHashsumRequest) -> Self
fn from(value: &OperationsHashsumRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsHashsumRequest
impl RefUnwindSafe for OperationsHashsumRequest
impl Send for OperationsHashsumRequest
impl Sync for OperationsHashsumRequest
impl Unpin for OperationsHashsumRequest
impl UnsafeUnpin for OperationsHashsumRequest
impl UnwindSafe for OperationsHashsumRequest
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