pub struct AdaptiveCardVersion(/* private fields */);Expand description
Wrapper for adaptive card schema versions so DTO contracts remain explicit even if no validation is applied.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for AdaptiveCardVersion
impl AsRef<str> for AdaptiveCardVersion
Source§impl Clone for AdaptiveCardVersion
impl Clone for AdaptiveCardVersion
Source§fn clone(&self) -> AdaptiveCardVersion
fn clone(&self) -> AdaptiveCardVersion
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 AdaptiveCardVersion
impl Debug for AdaptiveCardVersion
Source§impl<'de> Deserialize<'de> for AdaptiveCardVersion
impl<'de> Deserialize<'de> for AdaptiveCardVersion
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
Source§impl Display for AdaptiveCardVersion
impl Display for AdaptiveCardVersion
Source§impl From<&str> for AdaptiveCardVersion
impl From<&str> for AdaptiveCardVersion
Source§impl From<String> for AdaptiveCardVersion
impl From<String> for AdaptiveCardVersion
Source§impl PartialEq for AdaptiveCardVersion
impl PartialEq for AdaptiveCardVersion
Source§impl Serialize for AdaptiveCardVersion
impl Serialize for AdaptiveCardVersion
impl Eq for AdaptiveCardVersion
impl StructuralPartialEq for AdaptiveCardVersion
Auto Trait Implementations§
impl Freeze for AdaptiveCardVersion
impl RefUnwindSafe for AdaptiveCardVersion
impl Send for AdaptiveCardVersion
impl Sync for AdaptiveCardVersion
impl Unpin for AdaptiveCardVersion
impl UnsafeUnpin for AdaptiveCardVersion
impl UnwindSafe for AdaptiveCardVersion
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.