pub struct ManagedIdentitySchema {
pub blob_name: String,
pub blob_url: String,
pub content_hash: Option<String>,
pub created_at: String,
pub id: String,
pub name: String,
pub updated_at: String,
}
Expand description
ManagedIdentitySchema : Together the name and identity uuid are a unique index constraint. This prevents a user from having schemas with the same name. This also allows schemas to have the same name across the system.
Fields§
§blob_name: String
The gcs file name This is a randomly generated name which is used to uniquely identify the file on the blob storage
blob_url: String
The publicly accessible url of the schema
content_hash: Option<String>
The Content Hash Contains a hash of the schema’s content.
created_at: String
The Schema’s Creation Date
id: String
The schema’s ID.
name: String
The schema name This is set by the user and is for them to easily recognise their schema
updated_at: String
Last Time Schema was Updated
Implementations§
source§impl ManagedIdentitySchema
impl ManagedIdentitySchema
sourcepub fn new(
blob_name: String,
blob_url: String,
created_at: String,
id: String,
name: String,
updated_at: String
) -> ManagedIdentitySchema
pub fn new(
blob_name: String,
blob_url: String,
created_at: String,
id: String,
name: String,
updated_at: String
) -> ManagedIdentitySchema
Together the name and identity uuid are a unique index constraint. This prevents a user from having schemas with the same name. This also allows schemas to have the same name across the system.
Trait Implementations§
source§impl Clone for ManagedIdentitySchema
impl Clone for ManagedIdentitySchema
source§fn clone(&self) -> ManagedIdentitySchema
fn clone(&self) -> ManagedIdentitySchema
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedIdentitySchema
impl Debug for ManagedIdentitySchema
source§impl<'de> Deserialize<'de> for ManagedIdentitySchema
impl<'de> Deserialize<'de> for ManagedIdentitySchema
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq<ManagedIdentitySchema> for ManagedIdentitySchema
impl PartialEq<ManagedIdentitySchema> for ManagedIdentitySchema
source§fn eq(&self, other: &ManagedIdentitySchema) -> bool
fn eq(&self, other: &ManagedIdentitySchema) -> bool
self
and other
values to be equal, and is used
by ==
.