pub struct EngineInfo {
pub version: &'static str,
pub instance_id: String,
pub started_at: f64,
pub leader: bool,
pub modules: Vec<String>,
pub backend_kind: &'static str,
pub backend_data_dir: Option<String>,
pub backend_url_redacted: Option<String>,
pub bind_addr: String,
pub public_url: String,
}Fields§
§version: &'static str§instance_id: String§started_at: f64§leader: bool§modules: Vec<String>§backend_kind: &'static str§backend_data_dir: Option<String>SQLite data directory when the backend is SQLite. None for PG.
backend_url_redacted: Option<String>Postgres connection URL with the userinfo + password redacted.
None for SQLite.
bind_addr: String§public_url: StringTrait Implementations§
Source§impl Clone for EngineInfo
impl Clone for EngineInfo
Source§fn clone(&self) -> EngineInfo
fn clone(&self) -> EngineInfo
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 Debug for EngineInfo
impl Debug for EngineInfo
Auto Trait Implementations§
impl Freeze for EngineInfo
impl RefUnwindSafe for EngineInfo
impl Send for EngineInfo
impl Sync for EngineInfo
impl Unpin for EngineInfo
impl UnsafeUnpin for EngineInfo
impl UnwindSafe for EngineInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more