pub struct CatalogAddOptions {
pub name: String,
pub catalog_ref: String,
pub description: Option<String>,
pub import_items: bool,
pub force: bool,
pub catalog_file: Option<PathBuf>,
pub global: bool,
}Fields§
§name: String§catalog_ref: String§description: Option<String>§import_items: bool§force: bool§catalog_file: Option<PathBuf>§global: boolTrait Implementations§
Source§impl Clone for CatalogAddOptions
impl Clone for CatalogAddOptions
Source§fn clone(&self) -> CatalogAddOptions
fn clone(&self) -> CatalogAddOptions
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 CatalogAddOptions
impl Debug for CatalogAddOptions
Source§impl Default for CatalogAddOptions
impl Default for CatalogAddOptions
Source§fn default() -> CatalogAddOptions
fn default() -> CatalogAddOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CatalogAddOptions
impl RefUnwindSafe for CatalogAddOptions
impl Send for CatalogAddOptions
impl Sync for CatalogAddOptions
impl Unpin for CatalogAddOptions
impl UnsafeUnpin for CatalogAddOptions
impl UnwindSafe for CatalogAddOptions
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