pub struct ExpectItem {
pub status: Option<String>,
pub fragment: Option<String>,
}Expand description
One assert-only item: a status: shorthand and/or raw hurl assert lines
(both may contain ${…}).
Fields§
§status: Option<String>Expected HTTP status.
fragment: Option<String>Raw assert lines appended to the previous entry’s [Asserts].
Trait Implementations§
Source§impl Clone for ExpectItem
impl Clone for ExpectItem
Source§fn clone(&self) -> ExpectItem
fn clone(&self) -> ExpectItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpectItem
impl RefUnwindSafe for ExpectItem
impl Send for ExpectItem
impl Sync for ExpectItem
impl Unpin for ExpectItem
impl UnsafeUnpin for ExpectItem
impl UnwindSafe for ExpectItem
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