pub struct PostParams {
pub dry_run: Option<bool>,
pub enable_new: Option<()>,
pub full: Option<bool>,
pub purge: Option<bool>,
pub remove_vanished: Option<String>,
pub scope: Option<Scope>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§dry_run: Option<bool>
If set, does not write anything.
enable_new: Option<()>
Enable newly synced users immediately.
full: Option<bool>
DEPRECATED: use ‘remove-vanished’ instead. If set, uses the LDAP Directory as source of truth, deleting users or groups not returned from the sync and removing all locally modified properties of synced users. If not set, only syncs information which is present in the synced data, and does not delete or modify anything else.
purge: Option<bool>
DEPRECATED: use ‘remove-vanished’ instead. Remove ACLs for users or groups which were removed from the config during a sync.
remove_vanished: Option<String>
A semicolon-seperated list of things to remove when they or the user vanishes during a sync. The following values are possible: ‘entry’ removes the user/group when not returned from the sync. ‘properties’ removes the set properties on existing user/group that do not appear in the source (even custom ones). ‘acl’ removes acls when the user/group is not returned from the sync. Instead of a list it also can be ‘none’ (the default).
scope: Option<Scope>
Select what to sync.
additional_properties: HashMap<String, Value>
Trait Implementations§
Source§impl Clone for PostParams
impl Clone for PostParams
Source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more