pub struct ReviseArgs {
pub field: ClaimField,
pub merchant: Option<String>,
pub total: Option<Money>,
pub date: Option<NaiveDate>,
}Expand description
Arguments of operations::REVISE_PROPOSED_FIELD.
Fields§
§field: ClaimFieldWhich proposed field the user is correcting.
merchant: Option<String>The merchant’s name, when that is the field.
total: Option<Money>The total, when that is the field.
date: Option<NaiveDate>The document’s date, when that is the field.
Trait Implementations§
Source§impl Clone for ReviseArgs
impl Clone for ReviseArgs
Source§impl Debug for ReviseArgs
impl Debug for ReviseArgs
Source§impl<'de> Deserialize<'de> for ReviseArgs
impl<'de> Deserialize<'de> for ReviseArgs
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 ReviseArgs
Source§impl JsonSchema for ReviseArgs
impl JsonSchema for ReviseArgs
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 ReviseArgs
impl PartialEq for ReviseArgs
Source§impl Serialize for ReviseArgs
impl Serialize for ReviseArgs
impl StructuralPartialEq for ReviseArgs
Auto Trait Implementations§
impl Freeze for ReviseArgs
impl RefUnwindSafe for ReviseArgs
impl Send for ReviseArgs
impl Sync for ReviseArgs
impl Unpin for ReviseArgs
impl UnsafeUnpin for ReviseArgs
impl UnwindSafe for ReviseArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.