pub struct SpecLocation {
pub pointer: String,
pub file: Option<String>,
}Fields§
§pointer: StringRFC 6901 JSON pointer, e.g. /paths/~1pets/get.
file: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SpecLocation
impl Clone for SpecLocation
Source§fn clone(&self) -> SpecLocation
fn clone(&self) -> SpecLocation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpecLocation
impl Debug for SpecLocation
Source§impl<'de> Deserialize<'de> for SpecLocation
impl<'de> Deserialize<'de> for SpecLocation
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 Hash for SpecLocation
impl Hash for SpecLocation
Source§impl PartialEq for SpecLocation
impl PartialEq for SpecLocation
Source§fn eq(&self, other: &SpecLocation) -> bool
fn eq(&self, other: &SpecLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpecLocation
impl Serialize for SpecLocation
impl Eq for SpecLocation
impl StructuralPartialEq for SpecLocation
Auto Trait Implementations§
impl Freeze for SpecLocation
impl RefUnwindSafe for SpecLocation
impl Send for SpecLocation
impl Sync for SpecLocation
impl Unpin for SpecLocation
impl UnsafeUnpin for SpecLocation
impl UnwindSafe for SpecLocation
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