pub enum ExpectedType {
One(String),
Many(Vec<String>),
}
Expand description
Expected verification method type.
Variants§
Trait Implementations§
Source§impl Clone for ExpectedType
impl Clone for ExpectedType
Source§fn clone(&self) -> ExpectedType
fn clone(&self) -> ExpectedType
Returns a duplicate of the value. Read more
1.0.0 · 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 ExpectedType
impl Debug for ExpectedType
Source§impl From<String> for ExpectedType
impl From<String> for ExpectedType
Source§fn from(value: String) -> ExpectedType
fn from(value: String) -> ExpectedType
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExpectedType
impl RefUnwindSafe for ExpectedType
impl Send for ExpectedType
impl Sync for ExpectedType
impl Unpin for ExpectedType
impl UnwindSafe for ExpectedType
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.