pub struct ExportScope {
pub includes: Vec<&'static str>,
pub excludes: Vec<&'static str>,
}Expand description
The scope metadata carried in BOTH export and import JSON data — identical consts, so the statement “what this ZIP does and does not contain” never drifts between the two commands.
Fields§
§includes: Vec<&'static str>Resource families present in a project ZIP.
excludes: Vec<&'static str>Resource families that live in gateway config instead.
Implementations§
Source§impl ExportScope
impl ExportScope
Trait Implementations§
Source§impl Clone for ExportScope
impl Clone for ExportScope
Source§fn clone(&self) -> ExportScope
fn clone(&self) -> ExportScope
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 ExportScope
impl Debug for ExportScope
Source§impl Default for ExportScope
impl Default for ExportScope
Source§impl PartialEq for ExportScope
impl PartialEq for ExportScope
Source§impl Serialize for ExportScope
impl Serialize for ExportScope
impl StructuralPartialEq for ExportScope
Auto Trait Implementations§
impl Freeze for ExportScope
impl RefUnwindSafe for ExportScope
impl Send for ExportScope
impl Sync for ExportScope
impl Unpin for ExportScope
impl UnsafeUnpin for ExportScope
impl UnwindSafe for ExportScope
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