pub struct DatabaseTarget {
pub raw: String,
pub network: String,
pub circle: String,
pub rpc: String,
pub read_mode: ReadMode,
}Expand description
Parsed oct:// target plus read mode and RPC context.
Fields§
§raw: String§network: String§circle: String§rpc: String§read_mode: ReadModeTrait Implementations§
Source§impl Clone for DatabaseTarget
impl Clone for DatabaseTarget
Source§fn clone(&self) -> DatabaseTarget
fn clone(&self) -> DatabaseTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DatabaseTarget
impl Debug for DatabaseTarget
impl Eq for DatabaseTarget
Source§impl PartialEq for DatabaseTarget
impl PartialEq for DatabaseTarget
Source§fn eq(&self, other: &DatabaseTarget) -> bool
fn eq(&self, other: &DatabaseTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DatabaseTarget
Auto Trait Implementations§
impl Freeze for DatabaseTarget
impl RefUnwindSafe for DatabaseTarget
impl Send for DatabaseTarget
impl Sync for DatabaseTarget
impl Unpin for DatabaseTarget
impl UnsafeUnpin for DatabaseTarget
impl UnwindSafe for DatabaseTarget
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