pub struct DemoService {
pub name: String,
}
Expand description
Demo service for IoC container integration
Fields§
§name: String
Implementations§
Trait Implementations§
Source§impl Clone for DemoService
impl Clone for DemoService
Source§fn clone(&self) -> DemoService
fn clone(&self) -> DemoService
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 moreSource§impl Default for DemoService
impl Default for DemoService
Source§fn default() -> DemoService
fn default() -> DemoService
Returns the “default value” for a type. Read more
impl Send for DemoService
impl Sync for DemoService
Auto Trait Implementations§
impl Freeze for DemoService
impl RefUnwindSafe for DemoService
impl Unpin for DemoService
impl UnwindSafe for DemoService
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