pub enum GrantUpdatedPayloadSource {
Consent,
UserEdit,
}Expand description
What moved a live grant.
One field on grant.updated rather than two events: an application can
prompt the user to re-consent and cannot prompt them to un-edit, so it
branches on this, but it is one occurrence either way.
JSON schema
{
"description": "What moved a live grant.\n\nOne field on `grant.updated` rather than two events: an application can\nprompt the user to re-consent and cannot prompt them to un-edit, so it\nbranches on this, but it is one occurrence either way.",
"type": "string",
"enum": [
"consent",
"user_edit"
]
}Variants§
Trait Implementations§
Source§impl Clone for GrantUpdatedPayloadSource
impl Clone for GrantUpdatedPayloadSource
impl Copy for GrantUpdatedPayloadSource
Source§impl Debug for GrantUpdatedPayloadSource
impl Debug for GrantUpdatedPayloadSource
Source§impl<'de> Deserialize<'de> for GrantUpdatedPayloadSource
impl<'de> Deserialize<'de> for GrantUpdatedPayloadSource
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 GrantUpdatedPayloadSource
impl Display for GrantUpdatedPayloadSource
impl Eq for GrantUpdatedPayloadSource
Source§impl FromStr for GrantUpdatedPayloadSource
impl FromStr for GrantUpdatedPayloadSource
Source§impl Hash for GrantUpdatedPayloadSource
impl Hash for GrantUpdatedPayloadSource
Source§impl Ord for GrantUpdatedPayloadSource
impl Ord for GrantUpdatedPayloadSource
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for GrantUpdatedPayloadSource
impl PartialOrd for GrantUpdatedPayloadSource
impl StructuralPartialEq for GrantUpdatedPayloadSource
Source§impl TryFrom<&String> for GrantUpdatedPayloadSource
impl TryFrom<&String> for GrantUpdatedPayloadSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for GrantUpdatedPayloadSource
impl TryFrom<&str> for GrantUpdatedPayloadSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for GrantUpdatedPayloadSource
impl TryFrom<String> for GrantUpdatedPayloadSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for GrantUpdatedPayloadSource
impl Freeze for GrantUpdatedPayloadSource
impl Move for GrantUpdatedPayloadSource
impl RefUnwindSafe for GrantUpdatedPayloadSource
impl Send for GrantUpdatedPayloadSource
impl Sync for GrantUpdatedPayloadSource
impl Unpin for GrantUpdatedPayloadSource
impl UnsafeUnpin for GrantUpdatedPayloadSource
impl UnwindSafe for GrantUpdatedPayloadSource
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
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§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.