pub struct PodDnsConfigOption {
pub name: Option<String>,
pub value: Option<String>,
}Fields§
§name: Option<String>Required.
value: Option<String>+optional
Implementations§
Source§impl PodDnsConfigOption
impl PodDnsConfigOption
pub fn new() -> PodDnsConfigOption
Trait Implementations§
Source§impl Clone for PodDnsConfigOption
impl Clone for PodDnsConfigOption
Source§fn clone(&self) -> PodDnsConfigOption
fn clone(&self) -> PodDnsConfigOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PodDnsConfigOption
impl Debug for PodDnsConfigOption
Source§impl<'de> Deserialize<'de> for PodDnsConfigOption
impl<'de> Deserialize<'de> for PodDnsConfigOption
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
Source§impl FromStr for PodDnsConfigOption
Converts Query Parameters representation (style=form, explode=false) to a PodDnsConfigOption value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for PodDnsConfigOption
Converts Query Parameters representation (style=form, explode=false) to a PodDnsConfigOption value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for PodDnsConfigOption
impl PartialEq for PodDnsConfigOption
Source§impl Serialize for PodDnsConfigOption
impl Serialize for PodDnsConfigOption
Source§impl ToString for PodDnsConfigOption
Converts the PodDnsConfigOption value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for PodDnsConfigOption
Converts the PodDnsConfigOption value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for PodDnsConfigOption
impl Validate for PodDnsConfigOption
Source§impl<'v_a> ValidateArgs<'v_a> for PodDnsConfigOption
impl<'v_a> ValidateArgs<'v_a> for PodDnsConfigOption
impl StructuralPartialEq for PodDnsConfigOption
Auto Trait Implementations§
impl Freeze for PodDnsConfigOption
impl RefUnwindSafe for PodDnsConfigOption
impl Send for PodDnsConfigOption
impl Sync for PodDnsConfigOption
impl Unpin for PodDnsConfigOption
impl UnwindSafe for PodDnsConfigOption
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