pub struct TypeReference {
pub namespace: Option<String>,
pub name: Identifier,
}Expand description
Type reference (local or cross-schema)
- Local reference:
$types.my-type - Cross-schema reference:
$types.namespace.type-name
Fields§
§namespace: Option<String>Namespace for cross-schema references (None for local refs)
name: IdentifierType name
Trait Implementations§
Source§impl Clone for TypeReference
impl Clone for TypeReference
Source§fn clone(&self) -> TypeReference
fn clone(&self) -> TypeReference
Returns a duplicate 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 TypeReference
impl Debug for TypeReference
Source§impl FromEure<'_> for TypeReference
impl FromEure<'_> for TypeReference
Source§type Error = ParseError
type Error = ParseError
The error type returned by parsing.
Source§impl PartialEq for TypeReference
impl PartialEq for TypeReference
impl Eq for TypeReference
impl StructuralPartialEq for TypeReference
Auto Trait Implementations§
impl Freeze for TypeReference
impl RefUnwindSafe for TypeReference
impl Send for TypeReference
impl Sync for TypeReference
impl Unpin for TypeReference
impl UnwindSafe for TypeReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.