pub struct ServiceActivatorSpec { /* private fields */ }Implementations§
Source§impl ServiceActivatorSpec
impl ServiceActivatorSpec
pub fn new<I: Into<String>, F: Into<String>, T: Into<String>>( ref_name: I, from: F, to: T, ) -> Self
pub fn with_id<ID: Into<String>, I: Into<String>, F: Into<String>, T: Into<String>>( id: ID, ref_name: I, from: F, to: T, ) -> Self
pub fn id(&self) -> Option<&str>
pub fn ref_name(&self) -> &str
pub fn from(&self) -> &str
pub fn to(&self) -> &str
pub fn set_id(&mut self, id: String)
Trait Implementations§
Source§impl Clone for ServiceActivatorSpec
impl Clone for ServiceActivatorSpec
Source§fn clone(&self) -> ServiceActivatorSpec
fn clone(&self) -> ServiceActivatorSpec
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ServiceActivatorSpec
impl RefUnwindSafe for ServiceActivatorSpec
impl Send for ServiceActivatorSpec
impl Sync for ServiceActivatorSpec
impl Unpin for ServiceActivatorSpec
impl UnwindSafe for ServiceActivatorSpec
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