pub struct RelationReference<'a> {
pub schema: Option<RelationName<'a>>,
pub name: RelationName<'a>,
}Expand description
A borrowed local or schema-qualified SQL relation reference.
Fields§
§schema: Option<RelationName<'a>>§name: RelationName<'a>Implementations§
Source§impl RelationReference<'_>
impl RelationReference<'_>
Sourcepub fn identity_with_control(
&self,
default_schema: RelationName<'_>,
control: &ProductionControl<'_>,
) -> Result<Produced<RelationIdentity>, ValueRetentionError>
pub fn identity_with_control( &self, default_schema: RelationName<'_>, control: &ProductionControl<'_>, ) -> Result<Produced<RelationIdentity>, ValueRetentionError>
Decode borrowed components directly into their retained identity buffers.
pub fn render_with_control( &self, control: &ProductionControl<'_>, ) -> Result<Produced<String>, ValueRetentionError>
Trait Implementations§
Source§impl<'a> Clone for RelationReference<'a>
impl<'a> Clone for RelationReference<'a>
impl<'a> Copy for RelationReference<'a>
Source§impl<'a> Debug for RelationReference<'a>
impl<'a> Debug for RelationReference<'a>
impl<'a> Eq for RelationReference<'a>
Source§impl<'a> PartialEq for RelationReference<'a>
impl<'a> PartialEq for RelationReference<'a>
impl<'a> StructuralPartialEq for RelationReference<'a>
Auto Trait Implementations§
impl<'a> Freeze for RelationReference<'a>
impl<'a> RefUnwindSafe for RelationReference<'a>
impl<'a> Send for RelationReference<'a>
impl<'a> Sync for RelationReference<'a>
impl<'a> Unpin for RelationReference<'a>
impl<'a> UnsafeUnpin for RelationReference<'a>
impl<'a> UnwindSafe for RelationReference<'a>
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