pub struct HarnessSelectorV1(/* private fields */);Implementations§
Source§impl HarnessSelectorV1
impl HarnessSelectorV1
pub fn new( value: impl Into<String>, ) -> Result<HarnessSelectorV1, HarnessValidationError>
pub fn as_str(&self) -> &str
pub fn validate(&self) -> Result<(), HarnessValidationError>
Trait Implementations§
Source§impl Clone for HarnessSelectorV1
impl Clone for HarnessSelectorV1
Source§fn clone(&self) -> HarnessSelectorV1
fn clone(&self) -> HarnessSelectorV1
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 moreSource§impl Debug for HarnessSelectorV1
impl Debug for HarnessSelectorV1
Source§impl<'de> Deserialize<'de> for HarnessSelectorV1
impl<'de> Deserialize<'de> for HarnessSelectorV1
Source§fn deserialize<D>(
deserializer: D,
) -> Result<HarnessSelectorV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<HarnessSelectorV1, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessSelectorV1
Source§impl Hash for HarnessSelectorV1
impl Hash for HarnessSelectorV1
Source§impl Ord for HarnessSelectorV1
impl Ord for HarnessSelectorV1
Source§fn cmp(&self, other: &HarnessSelectorV1) -> Ordering
fn cmp(&self, other: &HarnessSelectorV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HarnessSelectorV1
impl PartialEq for HarnessSelectorV1
Source§impl PartialOrd for HarnessSelectorV1
impl PartialOrd for HarnessSelectorV1
Source§impl Serialize for HarnessSelectorV1
impl Serialize for HarnessSelectorV1
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HarnessSelectorV1
Auto Trait Implementations§
impl Freeze for HarnessSelectorV1
impl RefUnwindSafe for HarnessSelectorV1
impl Send for HarnessSelectorV1
impl Sync for HarnessSelectorV1
impl Unpin for HarnessSelectorV1
impl UnsafeUnpin for HarnessSelectorV1
impl UnwindSafe for HarnessSelectorV1
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