Enum google_api_proto::google::cloud::paymentgateway::issuerswitch::v1::mandate_transaction::RecurrencePatternType
source · #[repr(i32)]pub enum RecurrencePatternType {
Unspecified = 0,
AsPresented = 1,
Bimonthly = 2,
Daily = 3,
Fortnightly = 4,
HalfYearly = 5,
Monthly = 6,
OneTime = 7,
Quarterly = 8,
Weekly = 9,
Yearly = 10,
}
Expand description
RecurrencePatternType specifies the recurrence pattern type of the mandate.
Variants§
Unspecified = 0
Unspecified recurrence pattern.
AsPresented = 1
As presented recurrence pattern.
Bimonthly = 2
Bi monthly recurrence pattern.
Daily = 3
Daily recurrence pattern.
Fortnightly = 4
Bi weekly recurrence pattern.
HalfYearly = 5
Half yearly recurrence pattern.
Monthly = 6
Monthly recurrence pattern.
OneTime = 7
One time recurrence pattern.
Quarterly = 8
Quarterly recurrence pattern.
Weekly = 9
Weekly recurrence pattern.
Yearly = 10
Yearly recurrence pattern.
Implementations§
source§impl RecurrencePatternType
impl RecurrencePatternType
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of RecurrencePatternType
.
sourcepub fn from_i32(value: i32) -> Option<RecurrencePatternType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<RecurrencePatternType>
Converts an i32
to a RecurrencePatternType
, or None
if value
is not a valid variant.
source§impl RecurrencePatternType
impl RecurrencePatternType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for RecurrencePatternType
impl Clone for RecurrencePatternType
source§fn clone(&self) -> RecurrencePatternType
fn clone(&self) -> RecurrencePatternType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecurrencePatternType
impl Debug for RecurrencePatternType
source§impl Default for RecurrencePatternType
impl Default for RecurrencePatternType
source§fn default() -> RecurrencePatternType
fn default() -> RecurrencePatternType
source§impl From<RecurrencePatternType> for i32
impl From<RecurrencePatternType> for i32
source§fn from(value: RecurrencePatternType) -> i32
fn from(value: RecurrencePatternType) -> i32
source§impl Hash for RecurrencePatternType
impl Hash for RecurrencePatternType
source§impl Ord for RecurrencePatternType
impl Ord for RecurrencePatternType
source§fn cmp(&self, other: &RecurrencePatternType) -> Ordering
fn cmp(&self, other: &RecurrencePatternType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for RecurrencePatternType
impl PartialEq for RecurrencePatternType
source§fn eq(&self, other: &RecurrencePatternType) -> bool
fn eq(&self, other: &RecurrencePatternType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RecurrencePatternType
impl PartialOrd for RecurrencePatternType
source§fn partial_cmp(&self, other: &RecurrencePatternType) -> Option<Ordering>
fn partial_cmp(&self, other: &RecurrencePatternType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for RecurrencePatternType
impl TryFrom<i32> for RecurrencePatternType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<RecurrencePatternType, DecodeError>
fn try_from(value: i32) -> Result<RecurrencePatternType, DecodeError>
impl Copy for RecurrencePatternType
impl Eq for RecurrencePatternType
impl StructuralPartialEq for RecurrencePatternType
Auto Trait Implementations§
impl Freeze for RecurrencePatternType
impl RefUnwindSafe for RecurrencePatternType
impl Send for RecurrencePatternType
impl Sync for RecurrencePatternType
impl Unpin for RecurrencePatternType
impl UnwindSafe for RecurrencePatternType
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
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request