pub struct SwitchDatabaseResponse {
pub success: bool,
pub message: String,
}Expand description
Response for switching database
Fields§
§success: boolSuccess flag
message: StringMessage
Trait Implementations§
Source§impl Clone for SwitchDatabaseResponse
impl Clone for SwitchDatabaseResponse
Source§fn clone(&self) -> SwitchDatabaseResponse
fn clone(&self) -> SwitchDatabaseResponse
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 SwitchDatabaseResponse
impl Debug for SwitchDatabaseResponse
Source§impl<'de> Deserialize<'de> for SwitchDatabaseResponse
impl<'de> Deserialize<'de> for SwitchDatabaseResponse
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 SwitchDatabaseResponse
impl RefUnwindSafe for SwitchDatabaseResponse
impl Send for SwitchDatabaseResponse
impl Sync for SwitchDatabaseResponse
impl Unpin for SwitchDatabaseResponse
impl UnsafeUnpin for SwitchDatabaseResponse
impl UnwindSafe for SwitchDatabaseResponse
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