pub struct CopyMetadataOptions {
pub dps: Option<Vec<String>>,
pub dpv: Option<Vec<String>>,
pub groups: Option<Vec<String>>,
pub copy_dpg: bool,
pub overwrite_conflicting_metadata: bool,
pub skip_mismatched: bool,
}Expand description
Options controlling copy_metadata_any_trx.
When dps, dpv, and groups are all None, every array in each
category is copied. Once any of them is Some, only the kinds with an
explicit filter are copied; unfiltered kinds are skipped.
Fields§
§dps: Option<Vec<String>>Names of DPS arrays to copy, or None to fall back to the global
“copy everything” rule described above.
dpv: Option<Vec<String>>§groups: Option<Vec<String>>§copy_dpg: boolIf true, also copy data-per-group entries for the selected groups.
overwrite_conflicting_metadata: boolIf true, donor entries replace existing target entries with the same
name. If false, name collisions are an error.
skip_mismatched: boolIf true, donor arrays whose row count does not match the target’s
streamline / vertex count are skipped with a warning rather than
aborting the operation.
Trait Implementations§
Source§impl Clone for CopyMetadataOptions
impl Clone for CopyMetadataOptions
Source§fn clone(&self) -> CopyMetadataOptions
fn clone(&self) -> CopyMetadataOptions
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 CopyMetadataOptions
impl Debug for CopyMetadataOptions
Source§impl Default for CopyMetadataOptions
impl Default for CopyMetadataOptions
Source§fn default() -> CopyMetadataOptions
fn default() -> CopyMetadataOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CopyMetadataOptions
impl RefUnwindSafe for CopyMetadataOptions
impl Send for CopyMetadataOptions
impl Sync for CopyMetadataOptions
impl Unpin for CopyMetadataOptions
impl UnsafeUnpin for CopyMetadataOptions
impl UnwindSafe for CopyMetadataOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.