pub enum ResourceHeartbeatDataVariant1ResourceType {
Worker,
}Expand description
ResourceHeartbeatDataVariant1ResourceType
JSON schema
{
"type": "string",
"enum": [
"worker"
]
}Variants§
Worker
Trait Implementations§
impl Copy for ResourceHeartbeatDataVariant1ResourceType
Source§impl<'de> Deserialize<'de> for ResourceHeartbeatDataVariant1ResourceType
impl<'de> Deserialize<'de> for ResourceHeartbeatDataVariant1ResourceType
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
impl Eq for ResourceHeartbeatDataVariant1ResourceType
Source§impl From<&ResourceHeartbeatDataVariant1ResourceType> for ResourceHeartbeatDataVariant1ResourceType
impl From<&ResourceHeartbeatDataVariant1ResourceType> for ResourceHeartbeatDataVariant1ResourceType
Source§fn from(value: &ResourceHeartbeatDataVariant1ResourceType) -> Self
fn from(value: &ResourceHeartbeatDataVariant1ResourceType) -> Self
Converts to this type from the input type.
Source§impl Ord for ResourceHeartbeatDataVariant1ResourceType
impl Ord for ResourceHeartbeatDataVariant1ResourceType
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 ResourceHeartbeatDataVariant1ResourceType
impl PartialOrd for ResourceHeartbeatDataVariant1ResourceType
impl StructuralPartialEq for ResourceHeartbeatDataVariant1ResourceType
Source§impl TryFrom<&String> for ResourceHeartbeatDataVariant1ResourceType
impl TryFrom<&String> for ResourceHeartbeatDataVariant1ResourceType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ResourceHeartbeatDataVariant1ResourceType
impl TryFrom<&str> for ResourceHeartbeatDataVariant1ResourceType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ResourceHeartbeatDataVariant1ResourceType
impl TryFrom<String> for ResourceHeartbeatDataVariant1ResourceType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ResourceHeartbeatDataVariant1ResourceType
impl Freeze for ResourceHeartbeatDataVariant1ResourceType
impl Move for ResourceHeartbeatDataVariant1ResourceType
impl RefUnwindSafe for ResourceHeartbeatDataVariant1ResourceType
impl Send for ResourceHeartbeatDataVariant1ResourceType
impl Sync for ResourceHeartbeatDataVariant1ResourceType
impl Unpin for ResourceHeartbeatDataVariant1ResourceType
impl UnsafeUnpin for ResourceHeartbeatDataVariant1ResourceType
impl UnwindSafe for ResourceHeartbeatDataVariant1ResourceType
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