Skip to main content

NodedbStatement

Enum NodedbStatement 

Source
pub enum NodedbStatement {
Show 127 variants CreateCollection { name: String, if_not_exists: bool, engine: Option<String>, columns: Vec<(String, String)>, options: Vec<(String, String)>, flags: Vec<String>, balanced_raw: Option<String>, }, CreateTable { name: String, if_not_exists: bool, engine: Option<String>, columns: Vec<(String, String)>, options: Vec<(String, String)>, flags: Vec<String>, balanced_raw: Option<String>, }, DropCollection { name: String, if_exists: bool, purge: bool, cascade: bool, cascade_force: bool, }, UndropCollection { name: String, }, AlterCollection { name: String, operation: AlterCollectionOp, }, DescribeCollection { name: String, }, ShowCollections, CreateIndex { unique: bool, index_name: Option<String>, collection: String, field: String, case_insensitive: bool, where_condition: Option<String>, }, DropIndex { name: String, collection: Option<String>, if_exists: bool, }, ShowIndexes { collection: Option<String>, }, Reindex { collection: String, index_name: Option<String>, concurrent: bool, }, CreateTrigger {
Show 13 fields or_replace: bool, execution_mode: String, name: String, timing: String, events_insert: bool, events_update: bool, events_delete: bool, collection: String, granularity: String, when_condition: Option<String>, priority: i32, security: String, body_sql: String,
}, DropTrigger { name: String, collection: String, if_exists: bool, }, AlterTrigger { name: String, action: String, new_owner: Option<String>, }, ShowTriggers { collection: Option<String>, }, CreateSchedule { name: String, cron_expr: String, body_sql: String, scope: String, missed_policy: String, allow_overlap: bool, }, DropSchedule { name: String, if_exists: bool, }, AlterSchedule { name: String, action: String, cron_expr: Option<String>, }, ShowSchedules, ShowScheduleHistory { name: String, }, CreateSequence { name: String, if_not_exists: bool, start: Option<i64>, increment: Option<i64>, min_value: Option<i64>, max_value: Option<i64>, cycle: bool, cache: Option<i64>, format_template_raw: Option<String>, reset_period_raw: Option<String>, gap_free: bool, scope: Option<String>, }, DropSequence { name: String, if_exists: bool, }, AlterSequence { name: String, action: String, with_value: Option<String>, }, DescribeSequence { name: String, }, ShowSequences, CreateAlert { name: String, collection: String, where_filter: Option<String>, condition_raw: String, group_by: Vec<String>, window_raw: String, fire_after: u32, recover_after: u32, severity: String, notify_targets_raw: String, }, DropAlert { name: String, if_exists: bool, }, AlterAlert { name: String, action: String, }, ShowAlerts, ShowAlertStatus { name: String, }, CreateRetentionPolicy { name: String, collection: String, body_raw: String, eval_interval_raw: Option<String>, }, DropRetentionPolicy { name: String, if_exists: bool, }, AlterRetentionPolicy { name: String, action: String, set_key: Option<String>, set_value: Option<String>, }, ShowRetentionPolicies, CreateChangeStream { name: String, collection: String, with_clause_raw: String, }, DropChangeStream { name: String, if_exists: bool, }, AlterChangeStream { name: String, action: String, }, ShowChangeStreams, CreateConsumerGroup { group_name: String, stream_name: String, }, DropConsumerGroup { name: String, stream: String, if_exists: bool, }, ShowConsumerGroups { stream: Option<String>, }, CreateRlsPolicy { name: String, collection: String, policy_type: String, predicate_raw: String, is_restrictive: bool, on_deny_raw: Option<String>, tenant_id_override: Option<u64>, }, DropRlsPolicy { name: String, collection: String, if_exists: bool, }, ShowRlsPolicies { collection: Option<String>, }, CreateMaterializedView { name: String, source: String, query_sql: String, refresh_mode: String, }, DropMaterializedView { name: String, if_exists: bool, }, ShowMaterializedViews, CreateContinuousAggregate { name: String, source: String, bucket_raw: String, aggregate_exprs_raw: String, group_by: Vec<String>, with_clause_raw: String, }, DropContinuousAggregate { name: String, if_exists: bool, }, ShowContinuousAggregates, CreateDatabase { name: String, if_not_exists: bool, options: Vec<(String, String)>, }, DropDatabase { name: String, if_exists: bool, cascade: bool, }, AlterDatabase { name: String, operation: AlterDatabaseOperation, }, ShowDatabases, ShowDatabaseQuota { name: String, }, ShowDatabaseUsage { name: String, }, ShowDatabaseLineage { name: String, }, AlterTenant { name: String, database: String, operation: AlterTenantOperation, }, ShowTenantQuotaInDatabase { name: String, database: String, }, ShowTenantUsageInDatabase { name: String, database: String, }, UseDatabase { name: String, }, CloneDatabase { new_name: String, source_name: String, as_of: CloneAsOf, }, MirrorDatabase { local_name: String, source_cluster: String, source_database: String, mode: MirrorMode, }, ShowDatabaseMirrorStatus { name: Option<String>, }, MoveTenant { tenant_name: String, from_db: String, to_db: String, }, BackupDatabase { name: String, uri: String, }, RestoreDatabase { name: String, uri: String, }, BackupTenant { tenant_id: String, }, RestoreTenant { dry_run: bool, tenant_id: String, }, ShowNodes, ShowNode { node_id: String, }, RemoveNode { node_id: String, }, ShowCluster, ShowMigrations, ShowRanges, ShowRouting, ShowSchemaVersion, ShowPeerHealth, Rebalance, ShowRaftGroups, ShowRaftGroup { group_id: String, }, AlterRaftGroup { group_id: String, action: String, node_id: String, }, Analyze { collection: Option<String>, }, Compact { collection: String, }, ShowStorage { collection: Option<String>, }, ShowCompactionStatus, CreateUser { username: String, password: String, role: Option<String>, tenant_id: Option<u64>, }, DropUser { username: String, }, AlterUser { username: String, op: AlterUserOp, }, ShowUsers, AlterRole { name: String, sub_op: AlterRoleOp, }, GrantRole { role: String, username: String, }, RevokeRole { role: String, username: String, }, GrantPermission { permission: String, target_type: String, target_name: String, grantee: String, }, GrantDatabasePermission { permission: String, db_name: String, grantee: String, }, RevokePermission { permission: String, target_type: String, target_name: String, grantee: String, }, RevokeDatabasePermission { permission: String, db_name: String, grantee: String, }, ShowPermissions { on_collection: Option<String>, for_grantee: Option<String>, }, ShowGrants { username: Option<String>, }, CreateOidcProvider { name: String, issuer: String, jwks_uri: String, audience: Option<String>, claim_mappings: Vec<OidcClaimMappingClause>, }, AlterOidcProviderClaimMapping { name: String, claim_mappings: Vec<OidcClaimMappingClause>, }, DropOidcProvider { name: String, if_exists: bool, }, ShowOidcProviders, ShowConflictPolicy { collection: String, }, ShowTenants, ShowAuditLog, ShowConstraints { collection: String, }, ShowTypeGuards { collection: String, }, CreateEnumType { name: String, labels: Vec<String>, }, CreateCompositeType { name: String, fields: Vec<(String, String)>, }, DropType { name: String, if_exists: bool, }, AlterTypeAddValue { type_name: String, label: String, }, ShowTypes, CreateSynonymGroup { name: String, terms: Vec<String>, }, DropSynonymGroup { name: String, if_exists: bool, }, ShowSynonymGroups, GraphInsertEdge { collection: String, src: String, dst: String, label: String, properties: GraphProperties, }, GraphDeleteEdge { collection: String, src: String, dst: String, label: String, }, GraphSetLabels { node_id: String, labels: Vec<String>, remove: bool, }, GraphTraverse { start: String, depth: usize, edge_label: Option<String>, direction: GraphDirection, }, GraphNeighbors { node: String, edge_label: Option<String>, direction: GraphDirection, }, GraphPath { src: String, dst: String, max_depth: usize, edge_label: Option<String>, }, GraphAlgo { algorithm: String, collection: String, edge_label: Option<String>, damping: Option<f64>, tolerance: Option<f64>, resolution: Option<f64>, max_iterations: Option<usize>, sample_size: Option<usize>, source_node: Option<String>, direction: Option<String>, mode: Option<String>, }, MatchQuery { body: String, }, GraphRagFusion { collection: String, params: FusionParams, }, CopyFromFile { collection: String, path: String, format: Option<CopyFormat>, delimiter: Option<char>, header: bool, }, CopyToFile { source: CopyToSource, path: String, format: Option<CopyFormat>, delimiter: Option<char>, header: bool, },
}
Expand description

Typed representation of every NodeDB DDL statement.

Handlers receive a fully-parsed variant instead of raw &[&str] parts, eliminating array-index panics and enabling exhaustive match coverage for new DDL commands.

Variants§

§

CreateCollection

Fields

§name: String
§if_not_exists: bool
§engine: Option<String>

Canonical engine name (e.g. "kv", "vector", "document_strict"). None means no engine= key was present.

§columns: Vec<(String, String)>

(col_name, col_type) pairs from the parenthesised column list.

§options: Vec<(String, String)>

Key-value pairs from the WITH (...) clause, excluding engine=.

§flags: Vec<String>

Free-standing modifier keywords: APPEND_ONLY, HASH_CHAIN, BITEMPORAL.

§balanced_raw: Option<String>

Raw interior of a BALANCED ON (group_key = col, ...) clause, or None.

§

CreateTable

CREATE TABLE <name> (<col_list>) — Postgres-style strict-default DDL. Infers strict relational mode unless overridden via WITH (engine='...'). No column list → rejected with SQLSTATE 42601.

Fields

§name: String
§if_not_exists: bool
§engine: Option<String>
§columns: Vec<(String, String)>
§options: Vec<(String, String)>
§flags: Vec<String>
§balanced_raw: Option<String>
§

DropCollection

Fields

§name: String
§if_exists: bool
§purge: bool

Skip the soft-delete step (requires superuser/tenant_admin).

§cascade: bool

Recursively drop dependents (triggers, RLS, MVs, streams, schedules).

§cascade_force: bool

Like cascade but also drops schedules with references_unknown = true.

§

UndropCollection

UNDROP COLLECTION <n> — restore a soft-deleted collection within retention window.

Fields

§name: String
§

AlterCollection

Fields

§name: String
§

DescribeCollection

Fields

§name: String
§

ShowCollections

§

CreateIndex

Fields

§unique: bool
§index_name: Option<String>
§collection: String
§field: String
§case_insensitive: bool
§where_condition: Option<String>
§

DropIndex

Fields

§name: String
§collection: Option<String>
§if_exists: bool
§

ShowIndexes

Fields

§collection: Option<String>
§

Reindex

Fields

§collection: String
§index_name: Option<String>
§concurrent: bool
§

CreateTrigger

Fields

§or_replace: bool
§execution_mode: String

“ASYNC”, “SYNC”, or “DEFERRED”.

§name: String
§timing: String

“BEFORE”, “AFTER”, or “INSTEAD OF”.

§events_insert: bool
§events_update: bool
§events_delete: bool
§collection: String
§granularity: String

“ROW” or “STATEMENT”.

§when_condition: Option<String>
§priority: i32
§security: String

“INVOKER” or “DEFINER”.

§body_sql: String
§

DropTrigger

Fields

§name: String
§collection: String
§if_exists: bool
§

AlterTrigger

Fields

§name: String
§action: String
§new_owner: Option<String>
§

ShowTriggers

Fields

§collection: Option<String>
§

CreateSchedule

Fields

§name: String
§cron_expr: String
§body_sql: String
§scope: String
§missed_policy: String
§allow_overlap: bool
§

DropSchedule

Fields

§name: String
§if_exists: bool
§

AlterSchedule

Fields

§name: String
§action: String
§cron_expr: Option<String>
§

ShowSchedules

§

ShowScheduleHistory

Fields

§name: String
§

CreateSequence

Fields

§name: String
§if_not_exists: bool
§start: Option<i64>
§increment: Option<i64>
§min_value: Option<i64>
§max_value: Option<i64>
§cycle: bool
§cache: Option<i64>
§format_template_raw: Option<String>

Raw FORMAT 'template' string (quotes stripped), or None.

§reset_period_raw: Option<String>

Raw RESET YEARLY|MONTHLY|QUARTERLY|DAILY token, or None.

§gap_free: bool
§

DropSequence

Fields

§name: String
§if_exists: bool
§

AlterSequence

Fields

§name: String
§action: String
§with_value: Option<String>
§

DescribeSequence

Fields

§name: String
§

ShowSequences

§

CreateAlert

Fields

§name: String
§collection: String
§where_filter: Option<String>
§condition_raw: String
§group_by: Vec<String>
§window_raw: String
§fire_after: u32
§recover_after: u32
§severity: String
§notify_targets_raw: String
§

DropAlert

Fields

§name: String
§if_exists: bool
§

AlterAlert

Fields

§name: String
§action: String
§

ShowAlerts

§

ShowAlertStatus

Fields

§name: String
§

CreateRetentionPolicy

Fields

§name: String
§collection: String
§body_raw: String
§eval_interval_raw: Option<String>
§

DropRetentionPolicy

Fields

§name: String
§if_exists: bool
§

AlterRetentionPolicy

Fields

§name: String
§action: String
§set_key: Option<String>
§set_value: Option<String>
§

ShowRetentionPolicies

§

CreateChangeStream

Fields

§name: String
§collection: String
§with_clause_raw: String
§

DropChangeStream

Fields

§name: String
§if_exists: bool
§

AlterChangeStream

Fields

§name: String
§action: String
§

ShowChangeStreams

§

CreateConsumerGroup

Fields

§group_name: String
§stream_name: String
§

DropConsumerGroup

Fields

§name: String
§stream: String
§if_exists: bool
§

ShowConsumerGroups

Fields

§stream: Option<String>
§

CreateRlsPolicy

Fields

§name: String
§collection: String
§policy_type: String
§predicate_raw: String
§is_restrictive: bool
§on_deny_raw: Option<String>
§tenant_id_override: Option<u64>
§

DropRlsPolicy

Fields

§name: String
§collection: String
§if_exists: bool
§

ShowRlsPolicies

Fields

§collection: Option<String>
§

CreateMaterializedView

Fields

§name: String
§source: String
§query_sql: String
§refresh_mode: String
§

DropMaterializedView

Fields

§name: String
§if_exists: bool
§

ShowMaterializedViews

§

CreateContinuousAggregate

Fields

§name: String
§source: String
§bucket_raw: String
§aggregate_exprs_raw: String
§group_by: Vec<String>
§with_clause_raw: String
§

DropContinuousAggregate

Fields

§name: String
§if_exists: bool
§

ShowContinuousAggregates

§

CreateDatabase

CREATE DATABASE [IF NOT EXISTS] <name> [WITH (...)]

Fields

§name: String
§if_not_exists: bool
§options: Vec<(String, String)>

Key-value pairs from WITH (...), if present.

§

DropDatabase

DROP DATABASE [IF EXISTS] <name> [CASCADE | FORCE]

FORCE and CASCADE are accepted as synonyms by the parser and both set cascade = true. PostgreSQL’s WITH (FORCE) extension also terminates active sessions; that is a separate concern handled by the session registry at drop time and does not require a distinct AST flag.

Fields

§name: String
§if_exists: bool
§cascade: bool
§

AlterDatabase

ALTER DATABASE <name> <operation>

Fields

§name: String
§

ShowDatabases

SHOW DATABASES

§

ShowDatabaseQuota

SHOW DATABASE QUOTA FOR <name> — quota limits for a named database.

Fields

§name: String
§

ShowDatabaseUsage

SHOW DATABASE USAGE FOR <name> — runtime usage counters for a database.

Fields

§name: String
§

ShowDatabaseLineage

SHOW DATABASE LINEAGE FOR <name> — walks the parent clone chain from <name> up to the root, returning one row per ancestor with (database_id, name, as_of_lsn, clone_created_at_lsn).

Fields

§name: String
§

AlterTenant

ALTER TENANT <name> IN DATABASE <db> <operation>

New SQL surface. Sets per-tenant resource budgets within a specific database.

Fields

§name: String
§database: String
§

ShowTenantQuotaInDatabase

SHOW TENANT QUOTA FOR <name> IN DATABASE <db>

Fields

§name: String
§database: String
§

ShowTenantUsageInDatabase

SHOW TENANT USAGE FOR <name> IN DATABASE <db>

Fields

§name: String
§database: String
§

UseDatabase

USE DATABASE <name> — session reset to a different database.

Fields

§name: String
§

CloneDatabase

CLONE DATABASE <new> FROM <source> [AS OF SYSTEM TIME <ms> | LATEST]

Fields

§new_name: String
§source_name: String
§as_of: CloneAsOf

The temporal anchor for this clone. Latest means “use the source’s current commit LSN at clone time”.

§

MirrorDatabase

MIRROR DATABASE <local_name> FROM <source_cluster>.<source_database> [MODE = sync | async]

Creates a continuously-updated read-only replica of source_database in source_cluster. The local database is initialized with MirrorStatus::Bootstrapping and transitions to Following once the initial snapshot transfer completes.

Every match on this variant must be exhaustive — no _ => arms.

Fields

§local_name: String

Name of the new local mirror database.

§source_cluster: String

Cluster identifier of the source cluster.

§source_database: String

Name of the database in the source cluster to mirror.

§mode: MirrorMode

Replication mode: Sync means the source waits for mirror ack; Async (default) means the mirror trails the source.

§

ShowDatabaseMirrorStatus

SHOW DATABASE MIRROR STATUS [FOR <name>]

Returns one row per mirror database (or one row if FOR <name> is given): name, source_cluster, source_database, mode, status, last_applied_lsn, last_apply_ms.

Every match on this variant must be exhaustive — no _ => arms.

Fields

§name: Option<String>

Filter to a specific mirror by name, or None to show all mirrors.

§

MoveTenant

MOVE TENANT <tenant> FROM <db_a> TO <db_b>

Returns FEATURE_NOT_YET_IMPLEMENTED until the tenant-move subsystem lands.

Fields

§tenant_name: String
§from_db: String
§to_db: String
§

BackupDatabase

BACKUP DATABASE <name> TO <uri>

Returns FEATURE_NOT_YET_IMPLEMENTED until the backup subsystem lands.

Fields

§name: String
§

RestoreDatabase

RESTORE DATABASE <name> FROM <uri>

Returns FEATURE_NOT_YET_IMPLEMENTED until the restore subsystem lands.

Fields

§name: String
§

BackupTenant

Fields

§tenant_id: String
§

RestoreTenant

Fields

§dry_run: bool
§tenant_id: String
§

ShowNodes

§

ShowNode

Fields

§node_id: String
§

RemoveNode

Fields

§node_id: String
§

ShowCluster

§

ShowMigrations

§

ShowRanges

§

ShowRouting

§

ShowSchemaVersion

§

ShowPeerHealth

§

Rebalance

§

ShowRaftGroups

§

ShowRaftGroup

Fields

§group_id: String
§

AlterRaftGroup

Fields

§group_id: String
§action: String
§node_id: String
§

Analyze

Fields

§collection: Option<String>
§

Compact

Fields

§collection: String
§

ShowStorage

Fields

§collection: Option<String>
§

ShowCompactionStatus

§

CreateUser

Fields

§username: String
§password: String
§tenant_id: Option<u64>
§

DropUser

Fields

§username: String
§

AlterUser

Fields

§username: String
§

ShowUsers

§

AlterRole

ALTER ROLE <name> GRANT/REVOKE/SET.

Fields

§name: String
§

GrantRole

Fields

§role: String
§username: String
§

RevokeRole

Fields

§role: String
§username: String
§

GrantPermission

Fields

§permission: String
§target_type: String
§target_name: String
§grantee: String
§

GrantDatabasePermission

GRANT <privilege> ON DATABASE <name> TO <user>

Fields

§permission: String
§db_name: String
§grantee: String
§

RevokePermission

Fields

§permission: String
§target_type: String
§target_name: String
§grantee: String
§

RevokeDatabasePermission

REVOKE <privilege> ON DATABASE <name> FROM <user>

Fields

§permission: String
§db_name: String
§grantee: String
§

ShowPermissions

Fields

§on_collection: Option<String>
§for_grantee: Option<String>
§

ShowGrants

Fields

§username: Option<String>
§

CreateOidcProvider

CREATE OIDC PROVIDER <name> ISSUER '<iss>' JWKS_URI '<uri>' [AUDIENCE '<aud>'] [CLAIM MAPPING WHEN <claim_name> = '<value>' SET DEFAULT_DATABASE = <id>, ADD DATABASES [<ids>], ADD ROLES ['<role>', ...]]

Fields

§name: String
§issuer: String
§jwks_uri: String
§audience: Option<String>
§claim_mappings: Vec<OidcClaimMappingClause>

(claim_name, claim_value, default_database, add_databases, add_roles) tuples.

§

AlterOidcProviderClaimMapping

ALTER OIDC PROVIDER <name> SET CLAIM MAPPING WHEN <claim_name> = '<value>' SET DEFAULT_DATABASE = <id>, ADD DATABASES [<ids>], ADD ROLES ['<role>', ...]

Replaces the entire claim-mapping list for the named provider.

Fields

§name: String
§claim_mappings: Vec<OidcClaimMappingClause>
§

DropOidcProvider

DROP OIDC PROVIDER [IF EXISTS] <name>

Fields

§name: String
§if_exists: bool
§

ShowOidcProviders

SHOW OIDC PROVIDERS

§

ShowConflictPolicy

SHOW CONFLICT POLICY ON <collection>

Fields

§collection: String
§

ShowTenants

§

ShowAuditLog

§

ShowConstraints

Fields

§collection: String
§

ShowTypeGuards

Fields

§collection: String
§

CreateEnumType

CREATE TYPE <name> AS ENUM ('label1', 'label2', ...)

Fields

§name: String
§labels: Vec<String>
§

CreateCompositeType

CREATE TYPE <name> AS (<field1> <type1>, <field2> <type2>, ...)

Fields

§name: String
§fields: Vec<(String, String)>

(field_name, type_name) pairs.

§

DropType

DROP TYPE [IF EXISTS] <name>

Fields

§name: String
§if_exists: bool
§

AlterTypeAddValue

ALTER TYPE <name> ADD VALUE 'label'

Fields

§type_name: String
§label: String
§

ShowTypes

SHOW TYPES

§

CreateSynonymGroup

CREATE SYNONYM GROUP <name> AS ('term1', 'term2', ...)

Fields

§name: String
§terms: Vec<String>
§

DropSynonymGroup

DROP SYNONYM GROUP [IF EXISTS] <name>

Fields

§name: String
§if_exists: bool
§

ShowSynonymGroups

SHOW SYNONYM GROUPS

§

GraphInsertEdge

Fields

§collection: String
§label: String
§properties: GraphProperties
§

GraphDeleteEdge

Fields

§collection: String
§label: String
§

GraphSetLabels

Fields

§node_id: String
§labels: Vec<String>
§remove: bool
§

GraphTraverse

Fields

§start: String
§depth: usize
§edge_label: Option<String>
§direction: GraphDirection
§

GraphNeighbors

Fields

§node: String
§edge_label: Option<String>
§direction: GraphDirection
§

GraphPath

Fields

§max_depth: usize
§edge_label: Option<String>
§

GraphAlgo

Fields

§algorithm: String
§collection: String
§edge_label: Option<String>
§damping: Option<f64>
§tolerance: Option<f64>
§resolution: Option<f64>
§max_iterations: Option<usize>
§sample_size: Option<usize>
§source_node: Option<String>
§direction: Option<String>
§

MatchQuery

MATCH (x)-[:l]->(y) RETURN x, y — body forwarded verbatim to the graph pattern compiler.

Fields

§body: String
§

GraphRagFusion

GRAPH RAG FUSION ON <collection> QUERY ARRAY[…] [options…]

Fields

§collection: String
§

CopyFromFile

COPY <collection> FROM '<path>' [WITH (FORMAT ..., DELIMITER ..., HEADER ...)]

Server-side file-path bulk import. Does not handle STDIN streaming (that is a different protocol path) or COPY … TO.

Fields

§collection: String
§path: String
§delimiter: Option<char>
§header: bool
§

CopyToFile

COPY <collection> TO '<path>' [WITH (FORMAT ..., DELIMITER ..., HEADER ...)] COPY (SELECT ...) TO '<path>' [WITH (...)]

Server-side file-path bulk export. Streams scan results to a file.

Fields

§source: CopyToSource

The source: either a bare collection name or a SELECT query.

§path: String
§delimiter: Option<char>
§header: bool

Trait Implementations§

Source§

impl Clone for NodedbStatement

Source§

fn clone(&self) -> NodedbStatement

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 NodedbStatement

Source§

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

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

impl PartialEq for NodedbStatement

Source§

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

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for NodedbStatement

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> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
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<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> LayoutRaw for T

Source§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
Source§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

Source§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
Source§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The metadata type for pointers and references to this type.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T

Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,