pub struct BoundaryDefInput {
pub name: String,
pub modules: Vec<String>,
pub allow_imports_from: Vec<String>,
}Expand description
A single boundary definition for BoundarySpecInput.
Fields§
§name: StringBoundary name.
modules: Vec<String>Glob patterns for files in this boundary.
allow_imports_from: Vec<String>Boundaries this one is allowed to import from.
Trait Implementations§
Source§impl Clone for BoundaryDefInput
impl Clone for BoundaryDefInput
Source§fn clone(&self) -> BoundaryDefInput
fn clone(&self) -> BoundaryDefInput
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 BoundaryDefInput
impl Debug for BoundaryDefInput
Source§impl<'de> Deserialize<'de> for BoundaryDefInput
impl<'de> Deserialize<'de> for BoundaryDefInput
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 BoundaryDefInput
impl PartialEq for BoundaryDefInput
Source§fn eq(&self, other: &BoundaryDefInput) -> bool
fn eq(&self, other: &BoundaryDefInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BoundaryDefInput
impl Serialize for BoundaryDefInput
impl StructuralPartialEq for BoundaryDefInput
Auto Trait Implementations§
impl Freeze for BoundaryDefInput
impl RefUnwindSafe for BoundaryDefInput
impl Send for BoundaryDefInput
impl Sync for BoundaryDefInput
impl Unpin for BoundaryDefInput
impl UnsafeUnpin for BoundaryDefInput
impl UnwindSafe for BoundaryDefInput
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