[][src]Struct isilon::models::SyncReportPolicy

pub struct SyncReportPolicy {
    pub action: Option<String>,
    pub file_matching_pattern: Option<SyncJobPolicyFileMatchingPattern>,
    pub name: Option<String>,
    pub source_exclude_directories: Option<Vec<String>>,
    pub source_include_directories: Option<Vec<String>>,
    pub source_root_path: Option<String>,
    pub target_host: Option<String>,
    pub target_path: Option<String>,
}

Fields

action: Option<String>

If 'copy', source files will be copied to the target cluster. If 'sync', the target directory will be made an image of the source directory: Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.

file_matching_pattern: Option<SyncJobPolicyFileMatchingPattern>

A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties. Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.

name: Option<String>

User-assigned name of this sync policy.

source_exclude_directories: Option<Vec<String>>

Directories that will be excluded from the sync. Modifying this field will result in a full synchronization of all data.

source_include_directories: Option<Vec<String>>

Directories that will be included in the sync. Modifying this field will result in a full synchronization of all data.

source_root_path: Option<String>

The root directory on the source cluster the files will be synced from. Modifying this field will result in a full synchronization of all data.

target_host: Option<String>

Hostname or IP address of sync target cluster. Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.

target_path: Option<String>

Absolute filesystem path on the target cluster for the sync destination.

Trait Implementations

impl Debug for SyncReportPolicy[src]

impl Serialize for SyncReportPolicy[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T