#[repr(u8)]pub enum ValidationConclusion {
ValidationConclusionUnspecified = 0,
ValidatedVersionUsed = 1,
UserVersionUsed = 2,
UnvalidatedVersionUsed = 3,
Unused = 4,
}Expand description
The possible final outcomes of the sequence of address validation requests needed to validate an address.
Variants§
ValidationConclusionUnspecified = 0
This value is unused. If the
ProvideValidationFeedbackRequest.conclusion field is set to
VALIDATION_CONCLUSION_UNSPECIFIED, an INVALID_ARGUMENT error will be
returned.
ValidatedVersionUsed = 1
The version of the address returned by the Address Validation API was used for the transaction.
UserVersionUsed = 2
The version of the address provided by the user was used for the transaction
UnvalidatedVersionUsed = 3
A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.
Unused = 4
The transaction was abandoned and the address was not used.
Trait Implementations§
Source§impl AsRef<str> for ValidationConclusion
impl AsRef<str> for ValidationConclusion
Source§impl Clone for ValidationConclusion
impl Clone for ValidationConclusion
Source§fn clone(&self) -> ValidationConclusion
fn clone(&self) -> ValidationConclusion
Returns a duplicate of the value. Read more
1.0.0 · 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 ValidationConclusion
impl Debug for ValidationConclusion
Source§impl Default for ValidationConclusion
impl Default for ValidationConclusion
Source§fn default() -> ValidationConclusion
fn default() -> ValidationConclusion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidationConclusion
impl<'de> Deserialize<'de> for ValidationConclusion
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
Source§impl Display for ValidationConclusion
impl Display for ValidationConclusion
Source§impl FromStr for ValidationConclusion
impl FromStr for ValidationConclusion
Source§impl Hash for ValidationConclusion
impl Hash for ValidationConclusion
Source§impl Ord for ValidationConclusion
impl Ord for ValidationConclusion
Source§fn cmp(&self, other: &ValidationConclusion) -> Ordering
fn cmp(&self, other: &ValidationConclusion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ValidationConclusion
impl PartialEq for ValidationConclusion
Source§impl PartialOrd for ValidationConclusion
impl PartialOrd for ValidationConclusion
Source§impl Serialize for ValidationConclusion
impl Serialize for ValidationConclusion
Source§impl TryFrom<&str> for ValidationConclusion
impl TryFrom<&str> for ValidationConclusion
impl Copy for ValidationConclusion
impl Eq for ValidationConclusion
impl StructuralPartialEq for ValidationConclusion
Auto Trait Implementations§
impl Freeze for ValidationConclusion
impl RefUnwindSafe for ValidationConclusion
impl Send for ValidationConclusion
impl Sync for ValidationConclusion
impl Unpin for ValidationConclusion
impl UnwindSafe for ValidationConclusion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.