Struct jormungandr_lib::interfaces::FragmentDef
source · pub struct FragmentDef(Fragment);
Tuple Fields§
§0: Fragment
Implementations§
source§impl FragmentDef
impl FragmentDef
pub fn deserialize<'de, D>(deserializer: D) -> Result<Fragment, D::Error>where D: Deserializer<'de>,
pub fn serialize<S>( fragment: &Fragment, serializer: S ) -> Result<S::Ok, S::Error>where S: Serializer,
Trait Implementations§
source§impl Debug for FragmentDef
impl Debug for FragmentDef
source§impl<'de> Deserialize<'de> for FragmentDef
impl<'de> Deserialize<'de> for FragmentDef
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<'de> DeserializeAs<'de, Fragment> for FragmentDef
impl<'de> DeserializeAs<'de, Fragment> for FragmentDef
source§fn deserialize_as<D>(deserializer: D) -> Result<Fragment, D::Error>where
D: Deserializer<'de>,
fn deserialize_as<D>(deserializer: D) -> Result<Fragment, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer.
source§impl From<Fragment> for FragmentDef
impl From<Fragment> for FragmentDef
source§impl From<FragmentDef> for Fragment
impl From<FragmentDef> for Fragment
source§fn from(fragment_def: FragmentDef) -> Self
fn from(fragment_def: FragmentDef) -> Self
Converts to this type from the input type.
source§impl Serialize for FragmentDef
impl Serialize for FragmentDef
source§impl SerializeAs<Fragment> for FragmentDef
impl SerializeAs<Fragment> for FragmentDef
source§fn serialize_as<S>(source: &Fragment, serializer: S) -> Result<S::Ok, S::Error>where
S: Serializer,
fn serialize_as<S>(source: &Fragment, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,
Serialize this value into the given Serde serializer.
Auto Trait Implementations§
impl RefUnwindSafe for FragmentDef
impl Send for FragmentDef
impl Sync for FragmentDef
impl Unpin for FragmentDef
impl UnwindSafe for FragmentDef
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