Skip to main content

AnyName

Enum AnyName 

Source
pub enum AnyName {
Show 71 variants AccessMethod(AccessMethod), AccessMethodRef(AccessMethodRef), AttributeName(AttributeName), AttributeNamespace(AttributeNamespace), BindParamNameRef(BindParamNameRef), Channel(Channel), ChannelRef(ChannelRef), ColumnName(ColumnName), ColumnNameRef(ColumnNameRef), ConfigValueName(ConfigValueName), ConstraintName(ConstraintName), CopyOptionName(CopyOptionName), CteName(CteName), Cursor(Cursor), CursorRef(CursorRef), Database(Database), DatabaseRef(DatabaseRef), ElementTableAlias(ElementTableAlias), ElementTag(ElementTag), EventTrigger(EventTrigger), EventTriggerRef(EventTriggerRef), ExplainOptionName(ExplainOptionName), Extension(Extension), ExtensionRef(ExtensionRef), ForeignDataWrapper(ForeignDataWrapper), ForeignDataWrapperRef(ForeignDataWrapperRef), ForeignOptionName(ForeignOptionName), GrantRoleOptionName(GrantRoleOptionName), JsonPathName(JsonPathName), JsonPathNameRef(JsonPathNameRef), JsonVariableName(JsonVariableName), Language(Language), LanguageRef(LanguageRef), Name(Name), NameRef(NameRef), ParamName(ParamName), ParamNameRef(ParamNameRef), Policy(Policy), PolicyRef(PolicyRef), PreparedStatement(PreparedStatement), PreparedStatementRef(PreparedStatementRef), PropertyName(PropertyName), Publication(Publication), PublicationRef(PublicationRef), RemoteTableNameRef(RemoteTableNameRef), Role(Role), RoleRef(RoleRef), Rule(Rule), RuleRef(RuleRef), Savepoint(Savepoint), SavepointRef(SavepointRef), Schema(Schema), SchemaRef(SchemaRef), Server(Server), ServerRef(ServerRef), Subscription(Subscription), SubscriptionRef(SubscriptionRef), TableAlias(TableAlias), Tablespace(Tablespace), TablespaceRef(TablespaceRef), TransitionRelationName(TransitionRelationName), Trigger(Trigger), TriggerRef(TriggerRef), VacuumOptionName(VacuumOptionName), VacuumOptionValueName(VacuumOptionValueName), VertexTableRef(VertexTableRef), Window(Window), WindowRef(WindowRef), XmlAttr(XmlAttr), XmlNamespacePrefix(XmlNamespacePrefix), XmlPiTarget(XmlPiTarget),
}

Variants§

§

AccessMethod(AccessMethod)

§

AccessMethodRef(AccessMethodRef)

§

AttributeName(AttributeName)

§

AttributeNamespace(AttributeNamespace)

§

BindParamNameRef(BindParamNameRef)

§

Channel(Channel)

§

ChannelRef(ChannelRef)

§

ColumnName(ColumnName)

§

ColumnNameRef(ColumnNameRef)

§

ConfigValueName(ConfigValueName)

§

ConstraintName(ConstraintName)

§

CopyOptionName(CopyOptionName)

§

CteName(CteName)

§

Cursor(Cursor)

§

CursorRef(CursorRef)

§

Database(Database)

§

DatabaseRef(DatabaseRef)

§

ElementTableAlias(ElementTableAlias)

§

ElementTag(ElementTag)

§

EventTrigger(EventTrigger)

§

EventTriggerRef(EventTriggerRef)

§

ExplainOptionName(ExplainOptionName)

§

Extension(Extension)

§

ExtensionRef(ExtensionRef)

§

ForeignDataWrapper(ForeignDataWrapper)

§

ForeignDataWrapperRef(ForeignDataWrapperRef)

§

ForeignOptionName(ForeignOptionName)

§

GrantRoleOptionName(GrantRoleOptionName)

§

JsonPathName(JsonPathName)

§

JsonPathNameRef(JsonPathNameRef)

§

JsonVariableName(JsonVariableName)

§

Language(Language)

§

LanguageRef(LanguageRef)

§

Name(Name)

§

NameRef(NameRef)

§

ParamName(ParamName)

§

ParamNameRef(ParamNameRef)

§

Policy(Policy)

§

PolicyRef(PolicyRef)

§

PreparedStatement(PreparedStatement)

§

PreparedStatementRef(PreparedStatementRef)

§

PropertyName(PropertyName)

§

Publication(Publication)

§

PublicationRef(PublicationRef)

§

RemoteTableNameRef(RemoteTableNameRef)

§

Role(Role)

§

RoleRef(RoleRef)

§

Rule(Rule)

§

RuleRef(RuleRef)

§

Savepoint(Savepoint)

§

SavepointRef(SavepointRef)

§

Schema(Schema)

§

SchemaRef(SchemaRef)

§

Server(Server)

§

ServerRef(ServerRef)

§

Subscription(Subscription)

§

SubscriptionRef(SubscriptionRef)

§

TableAlias(TableAlias)

§

Tablespace(Tablespace)

§

TablespaceRef(TablespaceRef)

§

TransitionRelationName(TransitionRelationName)

§

Trigger(Trigger)

§

TriggerRef(TriggerRef)

§

VacuumOptionName(VacuumOptionName)

§

VacuumOptionValueName(VacuumOptionValueName)

§

VertexTableRef(VertexTableRef)

§

Window(Window)

§

WindowRef(WindowRef)

§

XmlAttr(XmlAttr)

§

XmlNamespacePrefix(XmlNamespacePrefix)

§

XmlPiTarget(XmlPiTarget)

Trait Implementations§

Source§

impl AstNode for AnyName

Source§

fn can_cast(kind: SyntaxKind) -> bool

Source§

fn cast(syntax: SyntaxNode) -> Option<Self>

Source§

fn syntax(&self) -> &SyntaxNode

Source§

fn clone_for_update(&self) -> Self
where Self: Sized,

Source§

fn clone_subtree(&self) -> Self
where Self: Sized,

Source§

impl Clone for AnyName

Source§

fn clone(&self) -> AnyName

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AnyName

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for AnyName

Source§

impl From<AccessMethod> for AnyName

Source§

fn from(node: AccessMethod) -> AnyName

Converts to this type from the input type.
Source§

impl From<AccessMethodRef> for AnyName

Source§

fn from(node: AccessMethodRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<AttributeName> for AnyName

Source§

fn from(node: AttributeName) -> AnyName

Converts to this type from the input type.
Source§

impl From<AttributeNamespace> for AnyName

Source§

fn from(node: AttributeNamespace) -> AnyName

Converts to this type from the input type.
Source§

impl From<BindParamNameRef> for AnyName

Source§

fn from(node: BindParamNameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Channel> for AnyName

Source§

fn from(node: Channel) -> AnyName

Converts to this type from the input type.
Source§

impl From<ChannelRef> for AnyName

Source§

fn from(node: ChannelRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ColumnName> for AnyName

Source§

fn from(node: ColumnName) -> AnyName

Converts to this type from the input type.
Source§

impl From<ColumnNameRef> for AnyName

Source§

fn from(node: ColumnNameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ConfigValueName> for AnyName

Source§

fn from(node: ConfigValueName) -> AnyName

Converts to this type from the input type.
Source§

impl From<ConstraintName> for AnyName

Source§

fn from(node: ConstraintName) -> AnyName

Converts to this type from the input type.
Source§

impl From<CopyOptionName> for AnyName

Source§

fn from(node: CopyOptionName) -> AnyName

Converts to this type from the input type.
Source§

impl From<CteName> for AnyName

Source§

fn from(node: CteName) -> AnyName

Converts to this type from the input type.
Source§

impl From<Cursor> for AnyName

Source§

fn from(node: Cursor) -> AnyName

Converts to this type from the input type.
Source§

impl From<CursorRef> for AnyName

Source§

fn from(node: CursorRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Database> for AnyName

Source§

fn from(node: Database) -> AnyName

Converts to this type from the input type.
Source§

impl From<DatabaseRef> for AnyName

Source§

fn from(node: DatabaseRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ElementTableAlias> for AnyName

Source§

fn from(node: ElementTableAlias) -> AnyName

Converts to this type from the input type.
Source§

impl From<ElementTag> for AnyName

Source§

fn from(node: ElementTag) -> AnyName

Converts to this type from the input type.
Source§

impl From<EventTrigger> for AnyName

Source§

fn from(node: EventTrigger) -> AnyName

Converts to this type from the input type.
Source§

impl From<EventTriggerRef> for AnyName

Source§

fn from(node: EventTriggerRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ExplainOptionName> for AnyName

Source§

fn from(node: ExplainOptionName) -> AnyName

Converts to this type from the input type.
Source§

impl From<Extension> for AnyName

Source§

fn from(node: Extension) -> AnyName

Converts to this type from the input type.
Source§

impl From<ExtensionRef> for AnyName

Source§

fn from(node: ExtensionRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ForeignDataWrapper> for AnyName

Source§

fn from(node: ForeignDataWrapper) -> AnyName

Converts to this type from the input type.
Source§

impl From<ForeignDataWrapperRef> for AnyName

Source§

fn from(node: ForeignDataWrapperRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ForeignOptionName> for AnyName

Source§

fn from(node: ForeignOptionName) -> AnyName

Converts to this type from the input type.
Source§

impl From<GrantRoleOptionName> for AnyName

Source§

fn from(node: GrantRoleOptionName) -> AnyName

Converts to this type from the input type.
Source§

impl From<JsonPathName> for AnyName

Source§

fn from(node: JsonPathName) -> AnyName

Converts to this type from the input type.
Source§

impl From<JsonPathNameRef> for AnyName

Source§

fn from(node: JsonPathNameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<JsonVariableName> for AnyName

Source§

fn from(node: JsonVariableName) -> AnyName

Converts to this type from the input type.
Source§

impl From<Language> for AnyName

Source§

fn from(node: Language) -> AnyName

Converts to this type from the input type.
Source§

impl From<LanguageRef> for AnyName

Source§

fn from(node: LanguageRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Name> for AnyName

Source§

fn from(node: Name) -> AnyName

Converts to this type from the input type.
Source§

impl From<NameRef> for AnyName

Source§

fn from(node: NameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<ParamName> for AnyName

Source§

fn from(node: ParamName) -> AnyName

Converts to this type from the input type.
Source§

impl From<ParamNameRef> for AnyName

Source§

fn from(node: ParamNameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Policy> for AnyName

Source§

fn from(node: Policy) -> AnyName

Converts to this type from the input type.
Source§

impl From<PolicyRef> for AnyName

Source§

fn from(node: PolicyRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<PreparedStatement> for AnyName

Source§

fn from(node: PreparedStatement) -> AnyName

Converts to this type from the input type.
Source§

impl From<PreparedStatementRef> for AnyName

Source§

fn from(node: PreparedStatementRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<PropertyName> for AnyName

Source§

fn from(node: PropertyName) -> AnyName

Converts to this type from the input type.
Source§

impl From<Publication> for AnyName

Source§

fn from(node: Publication) -> AnyName

Converts to this type from the input type.
Source§

impl From<PublicationRef> for AnyName

Source§

fn from(node: PublicationRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<RemoteTableNameRef> for AnyName

Source§

fn from(node: RemoteTableNameRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Role> for AnyName

Source§

fn from(node: Role) -> AnyName

Converts to this type from the input type.
Source§

impl From<RoleRef> for AnyName

Source§

fn from(node: RoleRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Rule> for AnyName

Source§

fn from(node: Rule) -> AnyName

Converts to this type from the input type.
Source§

impl From<RuleRef> for AnyName

Source§

fn from(node: RuleRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Savepoint> for AnyName

Source§

fn from(node: Savepoint) -> AnyName

Converts to this type from the input type.
Source§

impl From<SavepointRef> for AnyName

Source§

fn from(node: SavepointRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Schema> for AnyName

Source§

fn from(node: Schema) -> AnyName

Converts to this type from the input type.
Source§

impl From<SchemaRef> for AnyName

Source§

fn from(node: SchemaRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Server> for AnyName

Source§

fn from(node: Server) -> AnyName

Converts to this type from the input type.
Source§

impl From<ServerRef> for AnyName

Source§

fn from(node: ServerRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Subscription> for AnyName

Source§

fn from(node: Subscription) -> AnyName

Converts to this type from the input type.
Source§

impl From<SubscriptionRef> for AnyName

Source§

fn from(node: SubscriptionRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<TableAlias> for AnyName

Source§

fn from(node: TableAlias) -> AnyName

Converts to this type from the input type.
Source§

impl From<Tablespace> for AnyName

Source§

fn from(node: Tablespace) -> AnyName

Converts to this type from the input type.
Source§

impl From<TablespaceRef> for AnyName

Source§

fn from(node: TablespaceRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<TransitionRelationName> for AnyName

Source§

fn from(node: TransitionRelationName) -> AnyName

Converts to this type from the input type.
Source§

impl From<Trigger> for AnyName

Source§

fn from(node: Trigger) -> AnyName

Converts to this type from the input type.
Source§

impl From<TriggerRef> for AnyName

Source§

fn from(node: TriggerRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<VacuumOptionName> for AnyName

Source§

fn from(node: VacuumOptionName) -> AnyName

Converts to this type from the input type.
Source§

impl From<VacuumOptionValueName> for AnyName

Source§

fn from(node: VacuumOptionValueName) -> AnyName

Converts to this type from the input type.
Source§

impl From<VertexTableRef> for AnyName

Source§

fn from(node: VertexTableRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<Window> for AnyName

Source§

fn from(node: Window) -> AnyName

Converts to this type from the input type.
Source§

impl From<WindowRef> for AnyName

Source§

fn from(node: WindowRef) -> AnyName

Converts to this type from the input type.
Source§

impl From<XmlAttr> for AnyName

Source§

fn from(node: XmlAttr) -> AnyName

Converts to this type from the input type.
Source§

impl From<XmlNamespacePrefix> for AnyName

Source§

fn from(node: XmlNamespacePrefix) -> AnyName

Converts to this type from the input type.
Source§

impl From<XmlPiTarget> for AnyName

Source§

fn from(node: XmlPiTarget) -> AnyName

Converts to this type from the input type.
Source§

impl Hash for AnyName

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for AnyName

Source§

fn eq(&self, other: &AnyName) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for AnyName

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> NameLike for T
where T: AstNode, AnyName: From<T>,

Source§

fn text(&self) -> String

Source§

fn is_quoted(&self) -> bool

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.