pub struct UnloadResponse {
pub ok: bool,
pub active: Option<String>,
}Fields§
§ok: bool§active: Option<String>Always null on success; stated rather than omitted so the UI
can use one code path for “what is active now”.
Trait Implementations§
Source§impl Clone for UnloadResponse
impl Clone for UnloadResponse
Source§fn clone(&self) -> UnloadResponse
fn clone(&self) -> UnloadResponse
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 UnloadResponse
impl Debug for UnloadResponse
Source§impl<'de> Deserialize<'de> for UnloadResponse
impl<'de> Deserialize<'de> for UnloadResponse
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 PartialEq for UnloadResponse
impl PartialEq for UnloadResponse
Source§impl Serialize for UnloadResponse
impl Serialize for UnloadResponse
impl StructuralPartialEq for UnloadResponse
Auto Trait Implementations§
impl Freeze for UnloadResponse
impl RefUnwindSafe for UnloadResponse
impl Send for UnloadResponse
impl Sync for UnloadResponse
impl Unpin for UnloadResponse
impl UnsafeUnpin for UnloadResponse
impl UnwindSafe for UnloadResponse
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