pub struct RawDrivePatch {
pub drive_id: String,
pub path_on_host: Option<String>,
pub rate_limiter: Option<Value>,
}Expand description
Raw /drives/{id} PATCH body. Every mutable field optional.
Fields§
§drive_id: StringDrive ID being patched (must match the URL {id}).
path_on_host: Option<String>Replacement backing path.
rate_limiter: Option<Value>Replacement rate limiter.
Trait Implementations§
Source§impl Clone for RawDrivePatch
impl Clone for RawDrivePatch
Source§fn clone(&self) -> RawDrivePatch
fn clone(&self) -> RawDrivePatch
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 RawDrivePatch
impl Debug for RawDrivePatch
Source§impl<'de> Deserialize<'de> for RawDrivePatch
impl<'de> Deserialize<'de> for RawDrivePatch
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 TryFrom<RawDrivePatch> for DrivePatch
impl TryFrom<RawDrivePatch> for DrivePatch
Auto Trait Implementations§
impl Freeze for RawDrivePatch
impl RefUnwindSafe for RawDrivePatch
impl Send for RawDrivePatch
impl Sync for RawDrivePatch
impl Unpin for RawDrivePatch
impl UnsafeUnpin for RawDrivePatch
impl UnwindSafe for RawDrivePatch
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