pub struct SourceRefV1 {
pub kind: SourceKindV1,
pub id: SourceId,
}Fields§
§kind: SourceKindV1§id: SourceIdTrait Implementations§
Source§impl Clone for SourceRefV1
impl Clone for SourceRefV1
Source§impl Debug for SourceRefV1
impl Debug for SourceRefV1
Source§impl<'de> Deserialize<'de> for SourceRefV1
impl<'de> Deserialize<'de> for SourceRefV1
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 SourceRefV1
Source§impl Hash for SourceRefV1
impl Hash for SourceRefV1
Source§impl Ord for SourceRefV1
impl Ord for SourceRefV1
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 SourceRefV1
impl PartialEq for SourceRefV1
Source§impl PartialOrd for SourceRefV1
impl PartialOrd for SourceRefV1
Source§impl Serialize for SourceRefV1
impl Serialize for SourceRefV1
impl StructuralPartialEq for SourceRefV1
Auto Trait Implementations§
impl Freeze for SourceRefV1
impl RefUnwindSafe for SourceRefV1
impl Send for SourceRefV1
impl Sync for SourceRefV1
impl Unpin for SourceRefV1
impl UnsafeUnpin for SourceRefV1
impl UnwindSafe for SourceRefV1
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