pub enum PatternObject {
Brownfield,
Isolation {
side: IsolationSide,
},
}
Expand description
The shape of the JavaScript Pattern config
Variants§
Brownfield
Brownfield pattern.
Isolation
Isolation pattern. Recommended for security purposes.
Fields
§
side: IsolationSide
Which IsolationSide
this PatternObject
is getting injected into
Trait Implementations§
Source§impl Debug for PatternObject
impl Debug for PatternObject
Source§impl From<&PatternKind> for PatternObject
impl From<&PatternKind> for PatternObject
Source§fn from(pattern_kind: &PatternKind) -> Self
fn from(pattern_kind: &PatternKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PatternObject
impl RefUnwindSafe for PatternObject
impl Send for PatternObject
impl Sync for PatternObject
impl Unpin for PatternObject
impl UnwindSafe for PatternObject
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