pub struct BuildInfo {
pub version: &'static str,
pub git_sha: Option<&'static str>,
pub git_describe: Option<&'static str>,
pub git_commit_date: Option<&'static str>,
pub git_dirty: Option<bool>,
pub build_date: Option<&'static str>,
pub rustc: Option<&'static str>,
pub target: Option<&'static str>,
}Fields§
§version: &'static str§git_sha: Option<&'static str>§git_describe: Option<&'static str>§git_commit_date: Option<&'static str>§git_dirty: Option<bool>§build_date: Option<&'static str>§rustc: Option<&'static str>§target: Option<&'static str>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildInfo
impl RefUnwindSafe for BuildInfo
impl Send for BuildInfo
impl Sync for BuildInfo
impl Unpin for BuildInfo
impl UnsafeUnpin for BuildInfo
impl UnwindSafe for BuildInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].