Enum k8s_openapi::IntOrString [−][src]
A value that may be a 32-bit integer or a string.
Variants
Int(i32)
String(String)
Trait Implementations
impl Clone for IntOrString
[src]
impl Clone for IntOrString
fn clone(&self) -> IntOrString
[src]
fn clone(&self) -> IntOrString
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for IntOrString
[src]
impl Debug for IntOrString
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for IntOrString
[src]
impl Eq for IntOrString
impl PartialEq for IntOrString
[src]
impl PartialEq for IntOrString
fn eq(&self, other: &IntOrString) -> bool
[src]
fn eq(&self, other: &IntOrString) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &IntOrString) -> bool
[src]
fn ne(&self, other: &IntOrString) -> bool
This method tests for !=
.
impl Default for IntOrString
[src]
impl Default for IntOrString
impl<'de> Deserialize<'de> for IntOrString
[src]
impl<'de> Deserialize<'de> for IntOrString
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for IntOrString
[src]
impl Serialize for IntOrString
Auto Trait Implementations
impl Send for IntOrString
impl Send for IntOrString
impl Sync for IntOrString
impl Sync for IntOrString