pub struct Subject<'a> {
pub kind: &'a str,
pub stack: &'a str,
pub service: &'a str,
pub project: Option<&'a str>,
}Expand description
What a rule is matched against.
Fields§
§kind: &'a str§stack: &'a strThe stack’s name in its org.
service: &'a str§project: Option<&'a str>The app’s project, when the service is an app.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Subject<'a>
impl<'a> RefUnwindSafe for Subject<'a>
impl<'a> Send for Subject<'a>
impl<'a> Sync for Subject<'a>
impl<'a> Unpin for Subject<'a>
impl<'a> UnsafeUnpin for Subject<'a>
impl<'a> UnwindSafe for Subject<'a>
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