pub struct ExternalLocation {Show 13 fields
pub name: String,
pub url: String,
pub credential_name: String,
pub read_only: bool,
pub comment: Option<String>,
pub owner: Option<String>,
pub credential_id: String,
pub created_at: Option<i64>,
pub created_by: Option<String>,
pub updated_at: Option<i64>,
pub updated_by: Option<String>,
pub browse_only: Option<bool>,
pub external_location_id: Option<String>,
}Fields§
§name: StringName of the external location.
url: StringPath URL of the external location.
credential_name: StringName of the storage credential used with this location.
read_only: boolIndicates whether the external location is read-only.
comment: Option<String>User-provided free-form text description.
owner: Option<String>The owner of the external location.
credential_id: StringUnique ID of the location’s storage credential.
created_at: Option<i64>Time at which this catalog was created, in epoch milliseconds.
created_by: Option<String>Username of catalog creator.
updated_at: Option<i64>Time at which this catalog was last updated, in epoch milliseconds.
updated_by: Option<String>Username of user who last modified catalog.
browse_only: Option<bool>Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request.
external_location_id: Option<String>Implementations§
Source§impl ExternalLocation
impl ExternalLocation
Sourcepub fn qualified_name(&self) -> String
pub fn qualified_name(&self) -> String
Returns the fully-qualified dot-separated name computed from component fields.
Source§impl ExternalLocation
impl ExternalLocation
Sourcepub fn comment(&self) -> &str
pub fn comment(&self) -> &str
Returns the value of comment, or the default value if comment is unset.
Sourcepub fn owner(&self) -> &str
pub fn owner(&self) -> &str
Returns the value of owner, or the default value if owner is unset.
Sourcepub fn created_at(&self) -> i64
pub fn created_at(&self) -> i64
Returns the value of created_at, or the default value if created_at is unset.
Sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
Returns the value of created_by, or the default value if created_by is unset.
Sourcepub fn updated_at(&self) -> i64
pub fn updated_at(&self) -> i64
Returns the value of updated_at, or the default value if updated_at is unset.
Sourcepub fn updated_by(&self) -> &str
pub fn updated_by(&self) -> &str
Returns the value of updated_by, or the default value if updated_by is unset.
Sourcepub fn browse_only(&self) -> bool
pub fn browse_only(&self) -> bool
Returns the value of browse_only, or the default value if browse_only is unset.
Sourcepub fn external_location_id(&self) -> &str
pub fn external_location_id(&self) -> &str
Returns the value of external_location_id, or the default value if external_location_id is unset.
Trait Implementations§
Source§impl Clone for ExternalLocation
impl Clone for ExternalLocation
Source§fn clone(&self) -> ExternalLocation
fn clone(&self) -> ExternalLocation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExternalLocation
impl Debug for ExternalLocation
Source§impl Default for ExternalLocation
impl Default for ExternalLocation
§impl<'de> Deserialize<'de> for ExternalLocation
impl<'de> Deserialize<'de> for ExternalLocation
§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>,
impl Eq for ExternalLocation
Source§impl From<ExternalLocation> for Resource
impl From<ExternalLocation> for Resource
Source§fn from(v: ExternalLocation) -> Self
fn from(v: ExternalLocation) -> Self
Source§impl Hash for ExternalLocation
impl Hash for ExternalLocation
Source§impl Message for ExternalLocation
impl Message for ExternalLocation
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.