pub struct Service {
pub name: String,
pub version: String,
}Expand description
Parameters expected by the logger, used for manual initialization.
Fields§
§name: StringName of your service as it will be reported by Stackdriver
version: StringVersion of your service as it will be reported by Stackdriver
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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