pub struct OperationsHashsumfileRequest {
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>,
pub remote: Option<String>,
}Expand description
OperationsHashsumfileRequest
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 the hash value 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 containing the file to hash.",
"type": "string"
},
"hashType": {
"description": "Hash algorithm to use, e.g. `md5`, `sha1`, or
another supported name.",
"type": "string"
},
"remote": {
"description": "Path to the specific file within `fs` to hash.",
"type": "string"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
base64: Option<bool>Set to true to emit the hash value 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 containing the file to hash.
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.
remote: Option<String>Path to the specific file within fs to hash.
Trait Implementations§
Source§impl Clone for OperationsHashsumfileRequest
impl Clone for OperationsHashsumfileRequest
Source§fn clone(&self) -> OperationsHashsumfileRequest
fn clone(&self) -> OperationsHashsumfileRequest
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 OperationsHashsumfileRequest
impl Debug for OperationsHashsumfileRequest
Source§impl<'de> Deserialize<'de> for OperationsHashsumfileRequest
impl<'de> Deserialize<'de> for OperationsHashsumfileRequest
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<&OperationsHashsumfileRequest> for OperationsHashsumfileRequest
impl From<&OperationsHashsumfileRequest> for OperationsHashsumfileRequest
Source§fn from(value: &OperationsHashsumfileRequest) -> Self
fn from(value: &OperationsHashsumfileRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsHashsumfileRequest
impl RefUnwindSafe for OperationsHashsumfileRequest
impl Send for OperationsHashsumfileRequest
impl Sync for OperationsHashsumfileRequest
impl Unpin for OperationsHashsumfileRequest
impl UnsafeUnpin for OperationsHashsumfileRequest
impl UnwindSafe for OperationsHashsumfileRequest
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