pub struct DatabaseObjectRef { /* private fields */ }Implementations§
Source§impl DatabaseObjectRef
impl DatabaseObjectRef
pub fn new( profile: ProfileIdentity, catalog: impl Into<String>, schema: impl Into<String>, object: impl Into<String>, kind: DatabaseObjectKind, ) -> Result<Self, ContractError>
pub fn profile(&self) -> &ProfileIdentity
pub fn catalog(&self) -> &str
pub fn schema(&self) -> &str
pub fn object(&self) -> &str
pub fn kind(&self) -> DatabaseObjectKind
pub fn qualified_name(&self) -> String
Trait Implementations§
Source§impl Clone for DatabaseObjectRef
impl Clone for DatabaseObjectRef
Source§fn clone(&self) -> DatabaseObjectRef
fn clone(&self) -> DatabaseObjectRef
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 DatabaseObjectRef
impl Debug for DatabaseObjectRef
Source§impl<'de> Deserialize<'de> for DatabaseObjectRef
impl<'de> Deserialize<'de> for DatabaseObjectRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DatabaseObjectRef
Source§impl Hash for DatabaseObjectRef
impl Hash for DatabaseObjectRef
Source§impl Ord for DatabaseObjectRef
impl Ord for DatabaseObjectRef
Source§fn cmp(&self, other: &DatabaseObjectRef) -> Ordering
fn cmp(&self, other: &DatabaseObjectRef) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DatabaseObjectRef
impl PartialEq for DatabaseObjectRef
Source§impl PartialOrd for DatabaseObjectRef
impl PartialOrd for DatabaseObjectRef
Source§impl Serialize for DatabaseObjectRef
impl Serialize for DatabaseObjectRef
impl StructuralPartialEq for DatabaseObjectRef
Auto Trait Implementations§
impl Freeze for DatabaseObjectRef
impl RefUnwindSafe for DatabaseObjectRef
impl Send for DatabaseObjectRef
impl Sync for DatabaseObjectRef
impl Unpin for DatabaseObjectRef
impl UnsafeUnpin for DatabaseObjectRef
impl UnwindSafe for DatabaseObjectRef
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