[][src]Struct iml_wire_types::ResourceAgentType

pub struct ResourceAgentType {
    pub standard: String,
    pub provider: Option<String>,
    pub ocftype: String,
}

standard:provider:ocftype (e.g. ocf:heartbeat:ZFS, or stonith:fence_ipmilan)

Fields

standard: Stringprovider: Option<String>ocftype: String

Methods

impl ResourceAgentType[src]

pub fn new<'a>(
    standard: impl Into<Option<&'a str>>,
    provider: impl Into<Option<&'a str>>,
    ocftype: impl Into<Option<&'a str>>
) -> Self
[src]

Trait Implementations

impl Clone for ResourceAgentType[src]

impl Debug for ResourceAgentType[src]

impl<'de> Deserialize<'de> for ResourceAgentType[src]

impl Display for ResourceAgentType[src]

impl PartialEq<ResourceAgentType> for ResourceAgentType[src]

impl Serialize for ResourceAgentType[src]

impl StructuralPartialEq for ResourceAgentType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToBytes for T where
    T: Serialize
[src]

impl<T> ToJsonValue for T where
    T: Serialize
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.