pub struct WriteResult {
pub success: bool,
pub file_path: String,
pub created: bool,
pub size: u64,
pub error: Option<String>,
pub operation_id: Option<String>,
pub interrupted: bool,
}Expand description
Result of a file write operation.
Fields§
§success: bool§file_path: String§created: bool§size: u64File size in bytes.
error: Option<String>§operation_id: Option<String>§interrupted: boolTrue if operation was interrupted.
Trait Implementations§
Source§impl Clone for WriteResult
impl Clone for WriteResult
Source§fn clone(&self) -> WriteResult
fn clone(&self) -> WriteResult
Returns a duplicate of the value. Read more
1.0.0 · 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 WriteResult
impl Debug for WriteResult
Source§impl<'de> Deserialize<'de> for WriteResult
impl<'de> Deserialize<'de> for WriteResult
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
Auto Trait Implementations§
impl Freeze for WriteResult
impl RefUnwindSafe for WriteResult
impl Send for WriteResult
impl Sync for WriteResult
impl Unpin for WriteResult
impl UnsafeUnpin for WriteResult
impl UnwindSafe for WriteResult
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