pub enum RemoteSource {
Query(String),
Table(Vec<String>),
}Variants§
Implementations§
Source§impl RemoteSource
impl RemoteSource
pub fn query(&self, db_type: RemoteDbType) -> String
Trait Implementations§
Source§impl Clone for RemoteSource
impl Clone for RemoteSource
Source§fn clone(&self) -> RemoteSource
fn clone(&self) -> RemoteSource
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 RemoteSource
impl Debug for RemoteSource
Source§impl Display for RemoteSource
impl Display for RemoteSource
Source§impl From<&String> for RemoteSource
impl From<&String> for RemoteSource
Source§impl From<&str> for RemoteSource
impl From<&str> for RemoteSource
Source§impl From<String> for RemoteSource
impl From<String> for RemoteSource
Auto Trait Implementations§
impl Freeze for RemoteSource
impl RefUnwindSafe for RemoteSource
impl Send for RemoteSource
impl Sync for RemoteSource
impl Unpin for RemoteSource
impl UnwindSafe for RemoteSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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