pub struct GetStateResponse {
pub success: bool,
pub status: Option<Status>,
pub error_code: Option<String>,
pub message: Option<String>,
pub failure_reason: Option<FailureReason>,
}Fields§
§success: bool§status: Option<Status>§error_code: Option<String>§message: Option<String>§failure_reason: Option<FailureReason>Trait Implementations§
Source§impl Debug for GetStateResponse
impl Debug for GetStateResponse
Source§impl Default for GetStateResponse
impl Default for GetStateResponse
Source§fn default() -> GetStateResponse
fn default() -> GetStateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetStateResponse
impl<'de> Deserialize<'de> for GetStateResponse
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 GetStateResponse
impl RefUnwindSafe for GetStateResponse
impl Send for GetStateResponse
impl Sync for GetStateResponse
impl Unpin for GetStateResponse
impl UnwindSafe for GetStateResponse
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