pub struct PreCheckResponse {
pub actions_required: Option<Vec<String>>,
pub message: Option<String>,
pub message_type: Option<String>,
}Expand description
Structured PreCheckResponse containing message, type, and required actions.
This type is not used in any activity, and only used as part of another schema.
Fields§
§actions_required: Option<Vec<String>>The actions that the user needs to take. Use repeated for multiple actions.
message: Option<String>The message to be displayed to the user.
message_type: Option<String>The type of message whether it is an info, warning, or error.
Trait Implementations§
Source§impl Clone for PreCheckResponse
impl Clone for PreCheckResponse
Source§fn clone(&self) -> PreCheckResponse
fn clone(&self) -> PreCheckResponse
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 PreCheckResponse
impl Debug for PreCheckResponse
Source§impl Default for PreCheckResponse
impl Default for PreCheckResponse
Source§fn default() -> PreCheckResponse
fn default() -> PreCheckResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreCheckResponse
impl<'de> Deserialize<'de> for PreCheckResponse
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 Serialize for PreCheckResponse
impl Serialize for PreCheckResponse
impl Part for PreCheckResponse
Auto Trait Implementations§
impl Freeze for PreCheckResponse
impl RefUnwindSafe for PreCheckResponse
impl Send for PreCheckResponse
impl Sync for PreCheckResponse
impl Unpin for PreCheckResponse
impl UnwindSafe for PreCheckResponse
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