#[non_exhaustive]pub struct AttributeRef {
pub entity: String,
pub attribute: String,
}Expand description
SELF\entity.attribute in a redeclaration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity: StringThe supertype named after SELF\.
attribute: StringThe attribute name.
Trait Implementations§
Source§impl Clone for AttributeRef
impl Clone for AttributeRef
Source§impl Debug for AttributeRef
impl Debug for AttributeRef
impl Eq for AttributeRef
Source§impl PartialEq for AttributeRef
impl PartialEq for AttributeRef
impl StructuralPartialEq for AttributeRef
Auto Trait Implementations§
impl Freeze for AttributeRef
impl RefUnwindSafe for AttributeRef
impl Send for AttributeRef
impl Sync for AttributeRef
impl Unpin for AttributeRef
impl UnsafeUnpin for AttributeRef
impl UnwindSafe for AttributeRef
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