pub struct ServerSetupResponse {
pub user: SetupUserInfo,
pub message: String,
}Expand description
Server setup response body
After successful setup, the user must login separately to obtain tokens.
Fields§
§user: SetupUserInfoThe created DBA user info
message: StringSetup completion message
Trait Implementations§
Source§impl Clone for ServerSetupResponse
impl Clone for ServerSetupResponse
Source§fn clone(&self) -> ServerSetupResponse
fn clone(&self) -> ServerSetupResponse
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 ServerSetupResponse
impl Debug for ServerSetupResponse
Source§impl<'de> Deserialize<'de> for ServerSetupResponse
impl<'de> Deserialize<'de> for ServerSetupResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerSetupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerSetupResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ServerSetupResponse
impl Serialize for ServerSetupResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ServerSetupResponse
impl RefUnwindSafe for ServerSetupResponse
impl Send for ServerSetupResponse
impl Sync for ServerSetupResponse
impl Unpin for ServerSetupResponse
impl UnsafeUnpin for ServerSetupResponse
impl UnwindSafe for ServerSetupResponse
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