pub enum PostStakeResponse {
Variant0 {
status: String,
task_id: Uuid,
},
Variant1 {
status: String,
},
}Expand description
PostStakeResponse
JSON schema
{
"oneOf": [
{
"type": "object",
"required": [
"status",
"task_id"
],
"properties": {
"status": {
"examples": [
"assigned"
],
"type": "string"
},
"task_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"required": [
"status"
],
"properties": {
"status": {
"examples": [
"awaiting_verification"
],
"type": "string"
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for PostStakeResponse
impl Clone for PostStakeResponse
Source§fn clone(&self) -> PostStakeResponse
fn clone(&self) -> PostStakeResponse
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 PostStakeResponse
impl Debug for PostStakeResponse
Source§impl<'de> Deserialize<'de> for PostStakeResponse
impl<'de> Deserialize<'de> for PostStakeResponse
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 PostStakeResponse
impl RefUnwindSafe for PostStakeResponse
impl Send for PostStakeResponse
impl Sync for PostStakeResponse
impl Unpin for PostStakeResponse
impl UnsafeUnpin for PostStakeResponse
impl UnwindSafe for PostStakeResponse
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