pub struct NewSource<'a> {
pub name: &'a str,
pub adapter: &'a str,
pub config: Option<&'a Map<String, Value>>,
pub env: Option<&'a BTreeMap<String, String>>,
}Expand description
What create_source takes.
Fields§
§name: &'a str§adapter: &'a str§config: Option<&'a Map<String, Value>>§env: Option<&'a BTreeMap<String, String>>Trait Implementations§
impl<'a> Eq for NewSource<'a>
impl<'a> StructuralPartialEq for NewSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for NewSource<'a>
impl<'a> RefUnwindSafe for NewSource<'a>
impl<'a> Send for NewSource<'a>
impl<'a> Sync for NewSource<'a>
impl<'a> Unpin for NewSource<'a>
impl<'a> UnsafeUnpin for NewSource<'a>
impl<'a> UnwindSafe for NewSource<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.