Struct openrpc_types::BrokenReference
source · pub struct BrokenReference(pub String);
Expand description
A broken ReferenceOr::Reference
was found.
Returned from resolve_within
.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for BrokenReference
impl Clone for BrokenReference
source§fn clone(&self) -> BrokenReference
fn clone(&self) -> BrokenReference
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 BrokenReference
impl Debug for BrokenReference
source§impl Display for BrokenReference
impl Display for BrokenReference
source§impl Error for BrokenReference
impl Error for BrokenReference
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Hash for BrokenReference
impl Hash for BrokenReference
source§impl Ord for BrokenReference
impl Ord for BrokenReference
source§fn cmp(&self, other: &BrokenReference) -> Ordering
fn cmp(&self, other: &BrokenReference) -> Ordering
1.21.0 · 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
source§impl PartialEq for BrokenReference
impl PartialEq for BrokenReference
source§fn eq(&self, other: &BrokenReference) -> bool
fn eq(&self, other: &BrokenReference) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BrokenReference
impl PartialOrd for BrokenReference
source§fn partial_cmp(&self, other: &BrokenReference) -> Option<Ordering>
fn partial_cmp(&self, other: &BrokenReference) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for BrokenReference
impl StructuralPartialEq for BrokenReference
Auto Trait Implementations§
impl Freeze for BrokenReference
impl RefUnwindSafe for BrokenReference
impl Send for BrokenReference
impl Sync for BrokenReference
impl Unpin for BrokenReference
impl UnwindSafe for BrokenReference
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)