pub struct OperationsPubliclinkRequest {
pub async_: Option<bool>,
pub expire: Option<String>,
pub fs: Option<String>,
pub group: Option<String>,
pub remote: Option<String>,
pub unlink: Option<bool>,
}Expand description
OperationsPubliclinkRequest
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"
},
"expire": {
"description": "Optional expiration time for the public link,
formatted as supported by the backend.",
"type": "string"
},
"fs": {
"description": "Remote name or path hosting the object for which to
manage a public link.",
"type": "string"
},
"remote": {
"description": "Path within `fs` to the object for which to create
or remove a public link.",
"type": "string"
},
"unlink": {
"description": "Set to true to remove an existing public link
instead of creating one.",
"type": "boolean"
}
}
}Fields§
§async_: Option<bool>Run the command asynchronously. Returns a job id immediately.
expire: Option<String>Optional expiration time for the public link, formatted as supported by the backend.
fs: Option<String>Remote name or path hosting the object for which to manage a public link.
group: Option<String>Assign the request to a custom stats group.
remote: Option<String>Path within fs to the object for which to create or remove a
public link.
unlink: Option<bool>Set to true to remove an existing public link instead of creating one.
Trait Implementations§
Source§impl Clone for OperationsPubliclinkRequest
impl Clone for OperationsPubliclinkRequest
Source§fn clone(&self) -> OperationsPubliclinkRequest
fn clone(&self) -> OperationsPubliclinkRequest
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 OperationsPubliclinkRequest
impl Debug for OperationsPubliclinkRequest
Source§impl<'de> Deserialize<'de> for OperationsPubliclinkRequest
impl<'de> Deserialize<'de> for OperationsPubliclinkRequest
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<&OperationsPubliclinkRequest> for OperationsPubliclinkRequest
impl From<&OperationsPubliclinkRequest> for OperationsPubliclinkRequest
Source§fn from(value: &OperationsPubliclinkRequest) -> Self
fn from(value: &OperationsPubliclinkRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationsPubliclinkRequest
impl RefUnwindSafe for OperationsPubliclinkRequest
impl Send for OperationsPubliclinkRequest
impl Sync for OperationsPubliclinkRequest
impl Unpin for OperationsPubliclinkRequest
impl UnsafeUnpin for OperationsPubliclinkRequest
impl UnwindSafe for OperationsPubliclinkRequest
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