pub struct Shape {
pub id: &'static str,
pub description: &'static str,
pub hosts: &'static [&'static str],
/* private fields */
}Expand description
One token format: \b<prefix><body>{min,max}\b in regex terms.
Fields§
§id: &'static strShort id used in atoms and reasons (github).
description: &'static strWhat the token is, as openmoat_audit::redact::token_shape names it.
hosts: &'static [&'static str]Host names (and their subdomains) of the service the token is for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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