#[repr(i32)]pub enum FeedItemVerificationStatus {
Unspecified = 0,
Verified = 1,
NotVerified = 2,
}Variants§
Unspecified = 0
No verification result was computed or the producer could not determine it.
Verified = 1
Verification explicitly reported passing tests with no failures.
NotVerified = 2
Verification explicitly reported a non-passing result or test failures.
Implementations§
Source§impl FeedItemVerificationStatus
impl FeedItemVerificationStatus
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of FeedItemVerificationStatus.
Sourcepub fn from_i32(value: i32) -> Option<FeedItemVerificationStatus>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<FeedItemVerificationStatus>
Use the TryFrom<i32> implementation instead
Converts an i32 to a FeedItemVerificationStatus, or None if value is not a valid variant.
Source§impl FeedItemVerificationStatus
impl FeedItemVerificationStatus
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 FeedItemVerificationStatus
impl Clone for FeedItemVerificationStatus
Source§fn clone(&self) -> FeedItemVerificationStatus
fn clone(&self) -> FeedItemVerificationStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FeedItemVerificationStatus
Source§impl Debug for FeedItemVerificationStatus
impl Debug for FeedItemVerificationStatus
Source§impl Default for FeedItemVerificationStatus
impl Default for FeedItemVerificationStatus
Source§fn default() -> FeedItemVerificationStatus
fn default() -> FeedItemVerificationStatus
Returns the “default value” for a type. Read more
impl Eq for FeedItemVerificationStatus
Source§impl From<FeedItemVerificationStatus> for i32
impl From<FeedItemVerificationStatus> for i32
Source§fn from(value: FeedItemVerificationStatus) -> i32
fn from(value: FeedItemVerificationStatus) -> i32
Converts to this type from the input type.
Source§impl Hash for FeedItemVerificationStatus
impl Hash for FeedItemVerificationStatus
Source§impl Ord for FeedItemVerificationStatus
impl Ord for FeedItemVerificationStatus
Source§fn cmp(&self, other: &FeedItemVerificationStatus) -> Ordering
fn cmp(&self, other: &FeedItemVerificationStatus) -> Ordering
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
Source§impl PartialOrd for FeedItemVerificationStatus
impl PartialOrd for FeedItemVerificationStatus
impl StructuralPartialEq for FeedItemVerificationStatus
Source§impl TryFrom<i32> for FeedItemVerificationStatus
impl TryFrom<i32> for FeedItemVerificationStatus
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<FeedItemVerificationStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<FeedItemVerificationStatus, UnknownEnumValue>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FeedItemVerificationStatus
impl RefUnwindSafe for FeedItemVerificationStatus
impl Send for FeedItemVerificationStatus
impl Sync for FeedItemVerificationStatus
impl Unpin for FeedItemVerificationStatus
impl UnsafeUnpin for FeedItemVerificationStatus
impl UnwindSafe for FeedItemVerificationStatus
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