#[non_exhaustive]pub struct QueryHistorySource {
pub name: Option<String>,
pub source_id: Option<String>,
pub kind: Option<QueryHistorySourceKind>,
pub host: Option<String>,
pub port: Option<Integer>,
pub secure: Option<bool>,
pub user: Option<String>,
pub databases: Option<Vec<String>>,
pub cluster: Option<String>,
pub created_at: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>§source_id: Option<String>§kind: Option<QueryHistorySourceKind>§host: Option<String>§port: Option<Integer>§secure: Option<bool>§user: Option<String>§databases: Option<Vec<String>>§cluster: Option<String>§created_at: Option<String>Trait Implementations§
Source§impl Clone for QueryHistorySource
impl Clone for QueryHistorySource
Source§impl Debug for QueryHistorySource
impl Debug for QueryHistorySource
Source§impl<'de> Deserialize<'de> for QueryHistorySource
impl<'de> Deserialize<'de> for QueryHistorySource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QueryHistorySource
impl PartialEq for QueryHistorySource
Source§impl Serialize for QueryHistorySource
impl Serialize for QueryHistorySource
impl StructuralPartialEq for QueryHistorySource
Auto Trait Implementations§
impl Forget for QueryHistorySource
impl Freeze for QueryHistorySource
impl Move for QueryHistorySource
impl RefUnwindSafe for QueryHistorySource
impl Send for QueryHistorySource
impl Sync for QueryHistorySource
impl Unpin for QueryHistorySource
impl UnsafeUnpin for QueryHistorySource
impl UnwindSafe for QueryHistorySource
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