Struct mz_sql::names::FullObjectName
source · pub struct FullObjectName {
pub database: RawDatabaseSpecifier,
pub schema: String,
pub item: String,
}
Expand description
A fully-qualified human readable name of an item in the catalog.
Catalog names compare case sensitively. Use
normalize::unresolved_object_name
to
perform proper case folding if converting an UnresolvedObjectName
to a
FullObjectName
.
Fields§
§database: RawDatabaseSpecifier
The database name.
schema: String
The schema name.
item: String
The item name.
Trait Implementations§
source§impl Clone for FullObjectName
impl Clone for FullObjectName
source§fn clone(&self) -> FullObjectName
fn clone(&self) -> FullObjectName
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 FullObjectName
impl Debug for FullObjectName
source§impl<'de> Deserialize<'de> for FullObjectName
impl<'de> Deserialize<'de> for FullObjectName
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
source§impl Display for FullObjectName
impl Display for FullObjectName
source§impl From<FullObjectName> for PartialObjectName
impl From<FullObjectName> for PartialObjectName
source§fn from(n: FullObjectName) -> PartialObjectName
fn from(n: FullObjectName) -> PartialObjectName
Converts to this type from the input type.
source§impl From<FullObjectName> for UnresolvedObjectName
impl From<FullObjectName> for UnresolvedObjectName
source§fn from(full_name: FullObjectName) -> UnresolvedObjectName
fn from(full_name: FullObjectName) -> UnresolvedObjectName
Converts to this type from the input type.
source§impl Hash for FullObjectName
impl Hash for FullObjectName
source§impl Ord for FullObjectName
impl Ord for FullObjectName
source§fn cmp(&self, other: &FullObjectName) -> Ordering
fn cmp(&self, other: &FullObjectName) -> 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<FullObjectName> for FullObjectName
impl PartialEq<FullObjectName> for FullObjectName
source§fn eq(&self, other: &FullObjectName) -> bool
fn eq(&self, other: &FullObjectName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FullObjectName> for FullObjectName
impl PartialOrd<FullObjectName> for FullObjectName
source§fn partial_cmp(&self, other: &FullObjectName) -> Option<Ordering>
fn partial_cmp(&self, other: &FullObjectName) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for FullObjectName
impl Serialize for FullObjectName
impl Eq for FullObjectName
impl StructuralEq for FullObjectName
impl StructuralPartialEq for FullObjectName
Auto Trait Implementations§
impl RefUnwindSafe for FullObjectName
impl Send for FullObjectName
impl Sync for FullObjectName
impl Unpin for FullObjectName
impl UnwindSafe for FullObjectName
Blanket Implementations§
source§impl<T> DisplayExt for Twhere
T: Display,
impl<T> DisplayExt for Twhere
T: Display,
source§fn to_string_alt(&self) -> String
fn to_string_alt(&self) -> String
Formats an object with the “alternative” format (
{:#}
) and returns it.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.