pub struct WriteIn {
pub data: Option<String>,
pub id: Option<String>,
pub path: Option<String>,
}Fields§
§data: Option<String>Data is the file’s bytes, and replaces whatever was there.
id: Option<String>ID is the sandbox to write into, from an earlier lease.
path: Option<String>Path is confined the same way PathIn.Path is. Missing parent directories are created.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WriteIn
impl<'de> Deserialize<'de> for WriteIn
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
impl StructuralPartialEq for WriteIn
Auto Trait Implementations§
impl Freeze for WriteIn
impl RefUnwindSafe for WriteIn
impl Send for WriteIn
impl Sync for WriteIn
impl Unpin for WriteIn
impl UnsafeUnpin for WriteIn
impl UnwindSafe for WriteIn
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