pub struct ApprovalRespondError {
pub code: ApprovalRespondErrorCode,
pub session_id: SessionId,
pub approval_id: ApprovalId,
pub client_response_id: ClientResponseId,
pub expected_revision: Option<u64>,
pub found_revision: Option<u64>,
}Fields§
§code: ApprovalRespondErrorCode§session_id: SessionId§approval_id: ApprovalId§client_response_id: ClientResponseId§expected_revision: Option<u64>§found_revision: Option<u64>Trait Implementations§
Source§impl Clone for ApprovalRespondError
impl Clone for ApprovalRespondError
Source§fn clone(&self) -> ApprovalRespondError
fn clone(&self) -> ApprovalRespondError
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 ApprovalRespondError
impl Debug for ApprovalRespondError
Source§impl<'de> Deserialize<'de> for ApprovalRespondError
impl<'de> Deserialize<'de> for ApprovalRespondError
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
impl Eq for ApprovalRespondError
Source§impl JsonSchema for ApprovalRespondError
impl JsonSchema for ApprovalRespondError
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ApprovalRespondError
impl PartialEq for ApprovalRespondError
Source§fn eq(&self, other: &ApprovalRespondError) -> bool
fn eq(&self, other: &ApprovalRespondError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ApprovalRespondError
impl Serialize for ApprovalRespondError
impl StructuralPartialEq for ApprovalRespondError
Auto Trait Implementations§
impl Freeze for ApprovalRespondError
impl RefUnwindSafe for ApprovalRespondError
impl Send for ApprovalRespondError
impl Sync for ApprovalRespondError
impl Unpin for ApprovalRespondError
impl UnsafeUnpin for ApprovalRespondError
impl UnwindSafe for ApprovalRespondError
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