pub type ObjectId = TypedId<256>;Aliased Type§
#[repr(transparent)]pub struct ObjectId(pub(crate) u32);Tuple Fields§
§0: u32Implementations§
Source§impl ObjectId
impl ObjectId
pub fn as_database_id(self) -> DatabaseId
pub fn as_table_id(self) -> TableId
pub fn as_schema_id(self) -> SchemaId
pub fn as_sink_id(self) -> SinkId
pub fn as_source_id(self) -> SourceId
pub fn as_job_id(self) -> JobId
pub fn as_subscription_id(self) -> SubscriptionId
pub fn as_index_id(self) -> IndexId
pub fn as_view_id(self) -> ViewId
pub fn as_function_id(self) -> FunctionId
pub fn as_connection_id(self) -> ConnectionId
pub fn as_secret_id(self) -> SecretId
Trait Implementations§
Source§impl From<TypedId<10>> for ObjectId
impl From<TypedId<10>> for ObjectId
Source§fn from(value: SubscriptionId) -> Self
fn from(value: SubscriptionId) -> Self
Converts to this type from the input type.
Source§impl From<TypedId<13>> for ObjectId
impl From<TypedId<13>> for ObjectId
Source§fn from(value: FunctionId) -> Self
fn from(value: FunctionId) -> Self
Converts to this type from the input type.
Source§impl From<TypedId<14>> for ObjectId
impl From<TypedId<14>> for ObjectId
Source§fn from(value: ConnectionId) -> Self
fn from(value: ConnectionId) -> Self
Converts to this type from the input type.
Source§impl From<TypedId<3>> for ObjectId
impl From<TypedId<3>> for ObjectId
Source§fn from(value: DatabaseId) -> Self
fn from(value: DatabaseId) -> Self
Converts to this type from the input type.