pub enum ExpectMagicId {
__ExpectJson_MagicId_0ABDBD14_93D1_4D73_8E26_0177D8A280A4__,
}Variants§
__ExpectJson_MagicId_0ABDBD14_93D1_4D73_8E26_0177D8A280A4__
This is an ID to uniquely identify the Expect Json objects over anything else.
The ID contains a UUID which I generated on my machine. It doesn’t matter what that value is, or if it’s known by others. All that matters is it is unique enough that it is impossible to clash with other code by accident.
Implementations§
Source§impl ExpectMagicId
impl ExpectMagicId
pub fn is_magic_id_value(value: &Value) -> bool
Trait Implementations§
Source§impl Clone for ExpectMagicId
impl Clone for ExpectMagicId
Source§fn clone(&self) -> ExpectMagicId
fn clone(&self) -> ExpectMagicId
Returns a copy 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 ExpectMagicId
impl Debug for ExpectMagicId
Source§impl Default for ExpectMagicId
impl Default for ExpectMagicId
Source§fn default() -> ExpectMagicId
fn default() -> ExpectMagicId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExpectMagicId
impl<'de> Deserialize<'de> for ExpectMagicId
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 Serialize for ExpectMagicId
impl Serialize for ExpectMagicId
impl Copy for ExpectMagicId
Auto Trait Implementations§
impl Freeze for ExpectMagicId
impl RefUnwindSafe for ExpectMagicId
impl Send for ExpectMagicId
impl Sync for ExpectMagicId
impl Unpin for ExpectMagicId
impl UnwindSafe for ExpectMagicId
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