Enum krecik::products::expected::PageExpectation [−][src]
pub enum PageExpectation { ValidCode(u32), ValidNoContent, ValidContent(String), ValidLength(usize), ValidNoLength, ValidAddress(String), ValidNoAddress, }
Describes all supported page expectations
Variants
ValidCode(u32)
Valid error code
Valid no-content check
ValidContent(String)
Valid content regex match
ValidLength(usize)
Valid content length
Valid no-content-length check
ValidAddress(String)
Valid final address (after all redirections)
Valid no-address check
Trait Implementations
impl Clone for PageExpectation
[src]
impl Clone for PageExpectation
[src]fn clone(&self) -> PageExpectation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
__D: Deserializer<'de>,
impl Eq for PageExpectation
[src]
impl Eq for PageExpectation
[src]impl Fail for PageExpectation
[src]
impl Fail for PageExpectation
[src]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 ne(&self, other: &PageExpectation) -> bool
[src]
impl Serialize for PageExpectation
[src]
impl Serialize for PageExpectation
[src]impl StructuralEq for PageExpectation
[src]
impl StructuralEq for PageExpectation
[src]impl StructuralPartialEq for PageExpectation
[src]
impl StructuralPartialEq for PageExpectation
[src]Auto Trait Implementations
impl RefUnwindSafe for PageExpectation
impl RefUnwindSafe for PageExpectation
impl Send for PageExpectation
impl Send for PageExpectation
impl Sync for PageExpectation
impl Sync for PageExpectation
impl Unpin for PageExpectation
impl Unpin for PageExpectation
impl UnwindSafe for PageExpectation
impl UnwindSafe for PageExpectation
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]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]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,