pub struct Expect<'a> {
pub call: Option<&'a str>,
pub method: Option<&'a str>,
}Expand description
What a token must also say to be taken for this presentation.
Fields§
§call: Option<&'a str>The forwarded call’s id (hop.call).
method: Option<&'a str>The method it is presented for (in the verifier’s terms).
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Expect<'a>
impl<'a> Freeze for Expect<'a>
impl<'a> Move for Expect<'a>
impl<'a> RefUnwindSafe for Expect<'a>
impl<'a> Send for Expect<'a>
impl<'a> Sync for Expect<'a>
impl<'a> Unpin for Expect<'a>
impl<'a> UnsafeUnpin for Expect<'a>
impl<'a> UnwindSafe for Expect<'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