pub struct RouteDestination { /* private fields */ }Expand description
Route destination.
Implementations§
Source§impl RouteDestination
impl RouteDestination
pub fn new( name: impl Into<String>, description: impl Into<String>, chain: Arc<dyn BaseChain>, ) -> Self
pub fn with_keywords(self, keywords: Vec<&str>) -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> &str
pub fn chain(&self) -> &Arc<dyn BaseChain>
pub fn keywords(&self) -> &[String]
Auto Trait Implementations§
impl !RefUnwindSafe for RouteDestination
impl !UnwindSafe for RouteDestination
impl Freeze for RouteDestination
impl Send for RouteDestination
impl Sync for RouteDestination
impl Unpin for RouteDestination
impl UnsafeUnpin for RouteDestination
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