pub struct Location {
pub source: String,
pub database: Option<String>,
pub schema: Option<String>,
}Expand description
落点:定义之外,由「目录语义 + 连接配置」解析得到(设计 §5.2)。
落点维度 = source + database + schema(schema 仅 PostgreSQL)。
Fields§
§source: String连接选择(source 名);缺省 DEFAULT_SOURCE
database: Option<String>连接内「库」:Mongo db / MySQL database / SQLite attached / PG 库
schema: Option<String>连接内「schema」:仅 PostgreSQL
Trait Implementations§
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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