pub struct RoleConfig {
pub target: String,
pub credential_type: CredentialType,
pub service_account: String,
pub scopes: Vec<String>,
pub bucket: Option<String>,
pub prefix: Option<String>,
pub iam_role: String,
pub default_ttl_seconds: i64,
}Fields§
§target: StringWhich gcp/config/{name} document to authenticate with.
credential_type: CredentialType§service_account: StringThe service account to impersonate, or to own the HMAC key.
scopes: Vec<String>§bucket: Option<String>Required for downscoped — a boundary must name a resource.
prefix: Option<String>Optional object-name prefix within the bucket.
iam_role: String§default_ttl_seconds: i64Trait Implementations§
Source§impl Clone for RoleConfig
impl Clone for RoleConfig
Source§impl Debug for RoleConfig
impl Debug for RoleConfig
Source§impl<'de> Deserialize<'de> for RoleConfig
impl<'de> Deserialize<'de> for RoleConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RoleConfig
impl RefUnwindSafe for RoleConfig
impl Send for RoleConfig
impl Sync for RoleConfig
impl Unpin for RoleConfig
impl UnsafeUnpin for RoleConfig
impl UnwindSafe for RoleConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more