pub struct ChannelReservationBodyV1 {Show 16 fields
pub schema: String,
pub reservation_id: String,
pub channel_id: String,
pub open_digest: String,
pub request_id: String,
pub operation_id: String,
pub next_sequence: u64,
pub prior_state_digest: String,
pub service_binding_digest: String,
pub receipt_authority_digest: String,
pub maximum_charge: MonetaryAmount,
pub maximum_token_base_units: String,
pub expires_at_unix_ms: u64,
pub disposition_expected_version: u64,
pub channel_state_expected_version: u64,
pub lifecycle_fence: u64,
}Fields§
§schema: String§reservation_id: String§channel_id: String§open_digest: String§request_id: String§operation_id: String§next_sequence: u64§prior_state_digest: String§service_binding_digest: String§maximum_charge: MonetaryAmount§maximum_token_base_units: String§expires_at_unix_ms: u64§disposition_expected_version: u64§channel_state_expected_version: u64§lifecycle_fence: u64Implementations§
Source§impl ChannelReservationBodyV1
impl ChannelReservationBodyV1
pub fn validate(&self) -> Result<(), ChannelError>
pub fn proposal_digest(&self) -> Result<String, ChannelError>
Trait Implementations§
Source§impl Clone for ChannelReservationBodyV1
impl Clone for ChannelReservationBodyV1
Source§fn clone(&self) -> ChannelReservationBodyV1
fn clone(&self) -> ChannelReservationBodyV1
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 ChannelReservationBodyV1
impl Debug for ChannelReservationBodyV1
Source§impl<'de> Deserialize<'de> for ChannelReservationBodyV1
impl<'de> Deserialize<'de> for ChannelReservationBodyV1
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 ChannelReservationBodyV1
Source§impl PartialEq for ChannelReservationBodyV1
impl PartialEq for ChannelReservationBodyV1
Source§impl Serialize for ChannelReservationBodyV1
impl Serialize for ChannelReservationBodyV1
impl StructuralPartialEq for ChannelReservationBodyV1
Auto Trait Implementations§
impl Freeze for ChannelReservationBodyV1
impl RefUnwindSafe for ChannelReservationBodyV1
impl Send for ChannelReservationBodyV1
impl Sync for ChannelReservationBodyV1
impl Unpin for ChannelReservationBodyV1
impl UnsafeUnpin for ChannelReservationBodyV1
impl UnwindSafe for ChannelReservationBodyV1
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