pub struct Name(pub Vec<String>);Expand description
A possibly schema-qualified SQL name (e.g. "users" or "public"."users").
Stores each segment as a separate string. Single-segment names are the common case.
§Example
use toasty_sql::stmt::Name;
let name = Name::from("users");
assert_eq!(name.to_string(), "users");Tuple Fields§
§0: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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