pub struct EntrySqlStatementObject {
pub schema_name: Option<Bytes>,
pub object_name: Bytes,
}
Expand description
Database objects called from within a query
Fields§
§schema_name: Option<Bytes>
optional schema name
object_name: Bytes
object name (i.e. table name)
Implementations§
Source§impl EntrySqlStatementObject
impl EntrySqlStatementObject
Sourcepub fn schema_name(&self) -> Option<Cow<'_, str>>
pub fn schema_name(&self) -> Option<Cow<'_, str>>
returns the optional schema name of object
Sourcepub fn schema_name_bytes(&self) -> Option<Bytes>
pub fn schema_name_bytes(&self) -> Option<Bytes>
returns the optional schema name of object as bytes
Sourcepub fn object_name(&self) -> Cow<'_, str>
pub fn object_name(&self) -> Cow<'_, str>
returns the object name of object
Sourcepub fn object_name_bytes(&self) -> Bytes
pub fn object_name_bytes(&self) -> Bytes
returns the object name of object as bytes
Sourcepub fn full_object_name_bytes(&self) -> Bytes
pub fn full_object_name_bytes(&self) -> Bytes
full object name [schema.]object in Bytes
Sourcepub fn full_object_name(&self) -> Cow<'_, str>
pub fn full_object_name(&self) -> Cow<'_, str>
full object name [schema.]object as a CoW
Trait Implementations§
Source§impl Clone for EntrySqlStatementObject
impl Clone for EntrySqlStatementObject
Source§fn clone(&self) -> EntrySqlStatementObject
fn clone(&self) -> EntrySqlStatementObject
Returns a copy 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 EntrySqlStatementObject
impl Debug for EntrySqlStatementObject
Source§impl Ord for EntrySqlStatementObject
impl Ord for EntrySqlStatementObject
Source§fn cmp(&self, other: &EntrySqlStatementObject) -> Ordering
fn cmp(&self, other: &EntrySqlStatementObject) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EntrySqlStatementObject
impl PartialEq for EntrySqlStatementObject
Source§impl PartialOrd for EntrySqlStatementObject
impl PartialOrd for EntrySqlStatementObject
impl Eq for EntrySqlStatementObject
impl StructuralPartialEq for EntrySqlStatementObject
Auto Trait Implementations§
impl !Freeze for EntrySqlStatementObject
impl RefUnwindSafe for EntrySqlStatementObject
impl Send for EntrySqlStatementObject
impl Sync for EntrySqlStatementObject
impl Unpin for EntrySqlStatementObject
impl UnwindSafe for EntrySqlStatementObject
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