pub struct AdapterBinding {
pub id: AdapterId,
pub revision: String,
pub verification: AdapterVerification,
}Fields§
§id: AdapterId§revision: String§verification: AdapterVerificationImplementations§
Source§impl AdapterBinding
impl AdapterBinding
pub fn new( id: AdapterId, revision: impl Into<String>, verification: AdapterVerification, ) -> Result<Self, AdapterBindingError>
pub fn validate(&self) -> Result<(), AdapterBindingError>
Trait Implementations§
Source§impl Clone for AdapterBinding
impl Clone for AdapterBinding
Source§impl Debug for AdapterBinding
impl Debug for AdapterBinding
Source§impl<'de> Deserialize<'de> for AdapterBinding
impl<'de> Deserialize<'de> for AdapterBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdapterBinding
Source§impl Hash for AdapterBinding
impl Hash for AdapterBinding
Source§impl Ord for AdapterBinding
impl Ord for AdapterBinding
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 AdapterBinding
impl PartialEq for AdapterBinding
Source§impl PartialOrd for AdapterBinding
impl PartialOrd for AdapterBinding
Source§impl Serialize for AdapterBinding
impl Serialize for AdapterBinding
impl StructuralPartialEq for AdapterBinding
Auto Trait Implementations§
impl Freeze for AdapterBinding
impl RefUnwindSafe for AdapterBinding
impl Send for AdapterBinding
impl Sync for AdapterBinding
impl Unpin for AdapterBinding
impl UnsafeUnpin for AdapterBinding
impl UnwindSafe for AdapterBinding
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