pub struct IdempotencyPolicy {
pub header: String,
}Expand description
idempotency = { header } — the header is required by the schema.
Fields§
§header: StringTrait Implementations§
Source§impl Clone for IdempotencyPolicy
impl Clone for IdempotencyPolicy
Source§fn clone(&self) -> IdempotencyPolicy
fn clone(&self) -> IdempotencyPolicy
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 IdempotencyPolicy
impl Debug for IdempotencyPolicy
Source§impl<'de> Deserialize<'de> for IdempotencyPolicy
impl<'de> Deserialize<'de> for IdempotencyPolicy
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 IdempotencyPolicy
Source§impl PartialEq for IdempotencyPolicy
impl PartialEq for IdempotencyPolicy
impl StructuralPartialEq for IdempotencyPolicy
Auto Trait Implementations§
impl Freeze for IdempotencyPolicy
impl RefUnwindSafe for IdempotencyPolicy
impl Send for IdempotencyPolicy
impl Sync for IdempotencyPolicy
impl Unpin for IdempotencyPolicy
impl UnsafeUnpin for IdempotencyPolicy
impl UnwindSafe for IdempotencyPolicy
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