Enum krecik::products::expected::PageExpectation [−][src]
pub enum PageExpectation { ValidCode(u32), ValidNoContent, ValidContent(String), ValidLength(usize), ValidNoLength, ValidAddress(String), ValidNoAddress, }
Expand description
Describes all supported page expectations
Variants
ValidCode(u32)
Expand description
Valid error code
Expand description
Valid no-content check
ValidContent(String)
Expand description
Valid content regex match
ValidLength(usize)
Expand description
Valid content length
Expand description
Valid no-content-length check
ValidAddress(String)
Expand description
Valid final address (after all redirections)
Expand description
Valid no-address check
Trait Implementations
impl Clone for PageExpectation
[src]
impl Clone for PageExpectation
[src]fn clone(&self) -> PageExpectation
[src]
fn clone(&self) -> PageExpectation
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PageExpectation
[src]
impl Debug for PageExpectation
[src]impl<'de> Deserialize<'de> for PageExpectation
[src]
impl<'de> Deserialize<'de> for PageExpectation
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for PageExpectation
[src]
impl Display for PageExpectation
[src]impl Fail for PageExpectation
[src]
impl Fail for PageExpectation
[src]fn cause(&self) -> Option<&dyn Fail>
[src]
fn cause(&self) -> Option<&dyn Fail>
[src]Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]Returns a reference to the Backtrace
carried by this failure, if it
carries one. Read more
impl Hash for PageExpectation
[src]
impl Hash for PageExpectation
[src]impl PartialEq<PageExpectation> for PageExpectation
[src]
impl PartialEq<PageExpectation> for PageExpectation
[src]fn eq(&self, other: &PageExpectation) -> bool
[src]
fn eq(&self, other: &PageExpectation) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PageExpectation) -> bool
[src]
fn ne(&self, other: &PageExpectation) -> bool
[src]This method tests for !=
.
impl Serialize for PageExpectation
[src]
impl Serialize for PageExpectation
[src]impl Eq for PageExpectation
[src]
impl StructuralEq for PageExpectation
[src]
impl StructuralPartialEq for PageExpectation
[src]
Auto Trait Implementations
impl RefUnwindSafe for PageExpectation
impl Send for PageExpectation
impl Sync for PageExpectation
impl Unpin for PageExpectation
impl UnwindSafe for PageExpectation
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,