pub struct MoveObjects {
pub json: Option<bool>,
pub objects_type: Option<String>,
pub source: String,
pub target: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§json: Option<bool>Set output format to JSON
objects_type: Option<String>The objects type to move (item/auth_method/role)
source: StringSource path to move the objects from
target: StringTarget path to move the objects to
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl MoveObjects
impl MoveObjects
pub fn new(source: String, target: String) -> MoveObjects
Trait Implementations§
Source§impl Clone for MoveObjects
impl Clone for MoveObjects
Source§fn clone(&self) -> MoveObjects
fn clone(&self) -> MoveObjects
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MoveObjects
impl Debug for MoveObjects
Source§impl Default for MoveObjects
impl Default for MoveObjects
Source§fn default() -> MoveObjects
fn default() -> MoveObjects
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveObjects
impl<'de> Deserialize<'de> for MoveObjects
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 PartialEq for MoveObjects
impl PartialEq for MoveObjects
Source§fn eq(&self, other: &MoveObjects) -> bool
fn eq(&self, other: &MoveObjects) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MoveObjects
impl Serialize for MoveObjects
impl StructuralPartialEq for MoveObjects
Auto Trait Implementations§
impl Freeze for MoveObjects
impl RefUnwindSafe for MoveObjects
impl Send for MoveObjects
impl Sync for MoveObjects
impl Unpin for MoveObjects
impl UnsafeUnpin for MoveObjects
impl UnwindSafe for MoveObjects
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