#[repr(i32)]pub enum CustomCallSchedule {
ScheduleNone = 0,
ScheduleLatest = 1,
ScheduleEarliest = 2,
}Variants§
Implementations§
Source§impl CustomCallSchedule
impl CustomCallSchedule
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 CustomCallSchedule
impl Clone for CustomCallSchedule
Source§fn clone(&self) -> CustomCallSchedule
fn clone(&self) -> CustomCallSchedule
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomCallSchedule
impl Debug for CustomCallSchedule
Source§impl Default for CustomCallSchedule
impl Default for CustomCallSchedule
Source§fn default() -> CustomCallSchedule
fn default() -> CustomCallSchedule
Returns the “default value” for a type. Read more
Source§impl From<CustomCallSchedule> for i32
impl From<CustomCallSchedule> for i32
Source§fn from(value: CustomCallSchedule) -> i32
fn from(value: CustomCallSchedule) -> i32
Converts to this type from the input type.
Source§impl Hash for CustomCallSchedule
impl Hash for CustomCallSchedule
Source§impl Ord for CustomCallSchedule
impl Ord for CustomCallSchedule
Source§impl PartialEq for CustomCallSchedule
impl PartialEq for CustomCallSchedule
Source§impl PartialOrd for CustomCallSchedule
impl PartialOrd for CustomCallSchedule
Source§impl TryFrom<i32> for CustomCallSchedule
impl TryFrom<i32> for CustomCallSchedule
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<CustomCallSchedule, UnknownEnumValue>
fn try_from(value: i32) -> Result<CustomCallSchedule, UnknownEnumValue>
Performs the conversion.
impl Copy for CustomCallSchedule
impl Eq for CustomCallSchedule
impl StructuralPartialEq for CustomCallSchedule
Auto Trait Implementations§
impl Freeze for CustomCallSchedule
impl RefUnwindSafe for CustomCallSchedule
impl Send for CustomCallSchedule
impl Sync for CustomCallSchedule
impl Unpin for CustomCallSchedule
impl UnwindSafe for CustomCallSchedule
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)