pub struct ServerInfoResult {
pub database: String,
pub version: VersionInfo,
pub started_at: String,
pub in_recovery: bool,
pub database_name: Option<String>,
pub encoding: Option<String>,
pub database_size_bytes: Option<i64>,
pub role: Option<RoleInfo>,
pub extensions: Option<Vec<ExtensionInfo>>,
pub timescaledb: Option<String>,
pub settings: Option<Vec<SettingInfo>>,
pub warnings: Vec<String>,
}Fields§
§database: String§version: VersionInfo§started_at: String§in_recovery: bool§database_name: Option<String>§encoding: Option<String>§database_size_bytes: Option<i64>§role: Option<RoleInfo>§extensions: Option<Vec<ExtensionInfo>>§timescaledb: Option<String>§settings: Option<Vec<SettingInfo>>§warnings: Vec<String>Trait Implementations§
Source§impl Debug for ServerInfoResult
impl Debug for ServerInfoResult
Source§impl JsonSchema for ServerInfoResult
impl JsonSchema for ServerInfoResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Forget for ServerInfoResult
impl Freeze for ServerInfoResult
impl Move for ServerInfoResult
impl RefUnwindSafe for ServerInfoResult
impl Send for ServerInfoResult
impl Sync for ServerInfoResult
impl Unpin for ServerInfoResult
impl UnsafeUnpin for ServerInfoResult
impl UnwindSafe for ServerInfoResult
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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