pub struct Resource {
name: String,
}Expand description
Resoures are named things that are needed to perform a Step - without them the Step can’t be performed
Fields§
§name: StringDescriptive name of the resource, with enough information to be unambiguous to the operator. For instance, if a specific screwdriver is needed, then “Screwdriver” is probably insufficient as the name of this resource.
Implementations§
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnwindSafe for Resource
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