pub struct ExpectedResource {
pub key: String,
pub module: String,
pub ty: String,
pub name: Option<String>,
pub compare: Compare,
}Expand description
A declared non-tag resource that read_back compares.
Fields§
§key: Stringmodule/type/name, or module/type for a singleton.
module: StringModule id.
ty: StringResource type.
name: Option<String>Name; None for a singleton.
compare: CompareWhat to compare.
Implementations§
Trait Implementations§
Source§impl Clone for ExpectedResource
impl Clone for ExpectedResource
Source§impl Debug for ExpectedResource
impl Debug for ExpectedResource
Source§impl PartialEq for ExpectedResource
impl PartialEq for ExpectedResource
impl StructuralPartialEq for ExpectedResource
Auto Trait Implementations§
impl Freeze for ExpectedResource
impl RefUnwindSafe for ExpectedResource
impl Send for ExpectedResource
impl Sync for ExpectedResource
impl Unpin for ExpectedResource
impl UnsafeUnpin for ExpectedResource
impl UnwindSafe for ExpectedResource
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