pub struct ArchiveUpload {
pub needs_restart: bool,
pub message: String,
}Expand description
What POST /storage/upload-archive answers with.
Fields§
§needs_restart: boolWhether whatever consumes the volume should be restarted to see the new contents. The box answers true unconditionally, so this is advice rather than a measurement.
message: StringTrait Implementations§
Source§impl Clone for ArchiveUpload
impl Clone for ArchiveUpload
Source§impl Debug for ArchiveUpload
impl Debug for ArchiveUpload
Source§impl Default for ArchiveUpload
impl Default for ArchiveUpload
Source§impl<'de> Deserialize<'de> for ArchiveUpload
impl<'de> Deserialize<'de> for ArchiveUpload
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 ArchiveUpload
impl RefUnwindSafe for ArchiveUpload
impl Send for ArchiveUpload
impl Sync for ArchiveUpload
impl Unpin for ArchiveUpload
impl UnsafeUnpin for ArchiveUpload
impl UnwindSafe for ArchiveUpload
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