[][src]Struct iml_wire_types::Target

pub struct Target<T> {
    pub active_host: Option<String>,
    pub active_host_name: String,
    pub conf_params: Option<T>,
    pub content_type_id: u32,
    pub failover_server_name: String,
    pub failover_servers: Vec<String>,
    pub filesystem: Option<String>,
    pub filesystem_id: Option<u32>,
    pub filesystem_name: Option<String>,
    pub filesystems: Option<Vec<FilesystemShort>>,
    pub ha_label: Option<String>,
    pub id: u32,
    pub immutable_state: bool,
    pub index: Option<u32>,
    pub inode_count: Option<u64>,
    pub inode_size: Option<u32>,
    pub kind: TargetKind,
    pub label: String,
    pub name: String,
    pub primary_server: String,
    pub primary_server_name: String,
    pub resource_uri: String,
    pub state: String,
    pub state_modified_at: String,
    pub uuid: Option<String>,
    pub volume: VolumeOrResourceUri,
    pub volume_name: String,
}

A Target record from /api/target/

Fields

active_host: Option<String>active_host_name: Stringconf_params: Option<T>content_type_id: u32failover_server_name: Stringfailover_servers: Vec<String>filesystem: Option<String>filesystem_id: Option<u32>filesystem_name: Option<String>filesystems: Option<Vec<FilesystemShort>>ha_label: Option<String>id: u32immutable_state: boolindex: Option<u32>inode_count: Option<u64>inode_size: Option<u32>kind: TargetKindlabel: Stringname: Stringprimary_server: Stringprimary_server_name: Stringresource_uri: Stringstate: Stringstate_modified_at: Stringuuid: Option<String>volume: VolumeOrResourceUrivolume_name: String

Trait Implementations

impl<T: Clone> Clone for Target<T>[src]

impl<T: Debug> Debug for Target<T>[src]

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

impl<T> EndpointName for Target<T>[src]

impl<T> FlatQuery for Target<T>[src]

impl<T> Id for Target<T>[src]

impl<T> Label for Target<T>[src]

impl<'_, T> Label for &'_ Target<T>[src]

impl<T: PartialEq> PartialEq<Target<T>> for Target<T>[src]

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

impl<T> StructuralPartialEq for Target<T>[src]

impl<T> ToCompositeId for Target<T>[src]

impl<'_, T> ToCompositeId for &'_ Target<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Target<T> where
    T: RefUnwindSafe

impl<T> Send for Target<T> where
    T: Send

impl<T> Sync for Target<T> where
    T: Sync

impl<T> Unpin for Target<T> where
    T: Unpin

impl<T> UnwindSafe for Target<T> where
    T: UnwindSafe

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> EndpointNameSelf for T where
    T: EndpointName
[src]

impl<T> ErasedRecord for T where
    T: ToCompositeId + Label + EndpointNameSelf + Id + Debug
[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, 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.