pub struct Case {
pub name: &'static str,
pub token: Option<&'static str>,
pub kind: &'static str,
pub id: &'static str,
pub action: &'static str,
pub expected: Outcome,
}Expand description
One shared permission-route input and its required result.
Fields§
§name: &'static strThe stable fixture name.
token: Option<&'static str>A synthetic signed pass, absent for the live unreachable route.
kind: &'static strThe qualified kind asked about.
id: &'static strThe exact resource id.
action: &'static strThe action requested.
expected: OutcomeThe full required result.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Case
impl UnwindSafe for Case
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