pub struct CanonicalFixture {
pub path: &'static str,
pub json: &'static str,
}Expand description
One canonical fixture embedded in the protocol crate.
Fields§
§path: &'static strPath relative to the canonical fixture manifest.
json: &'static strExact UTF-8 JSON source.
Trait Implementations§
Source§impl Clone for CanonicalFixture
impl Clone for CanonicalFixture
Source§fn clone(&self) -> CanonicalFixture
fn clone(&self) -> CanonicalFixture
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 moreimpl Copy for CanonicalFixture
Source§impl Debug for CanonicalFixture
impl Debug for CanonicalFixture
impl Eq for CanonicalFixture
Source§impl PartialEq for CanonicalFixture
impl PartialEq for CanonicalFixture
impl StructuralPartialEq for CanonicalFixture
Auto Trait Implementations§
impl Freeze for CanonicalFixture
impl RefUnwindSafe for CanonicalFixture
impl Send for CanonicalFixture
impl Sync for CanonicalFixture
impl Unpin for CanonicalFixture
impl UnsafeUnpin for CanonicalFixture
impl UnwindSafe for CanonicalFixture
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