pub struct SignedUrlKey {
pub key_name: Option<String>,
pub key_value: Option<String>,
}
Expand description
Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- add signed url key backend buckets (request)
- add signed url key backend services (request)
Fields§
§key_name: Option<String>
Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
key_value: Option<String>
128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string.
Trait Implementations§
Source§impl Clone for SignedUrlKey
impl Clone for SignedUrlKey
Source§fn clone(&self) -> SignedUrlKey
fn clone(&self) -> SignedUrlKey
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SignedUrlKey
impl Debug for SignedUrlKey
Source§impl Default for SignedUrlKey
impl Default for SignedUrlKey
Source§fn default() -> SignedUrlKey
fn default() -> SignedUrlKey
Source§impl<'de> Deserialize<'de> for SignedUrlKey
impl<'de> Deserialize<'de> for SignedUrlKey
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 Serialize for SignedUrlKey
impl Serialize for SignedUrlKey
impl RequestValue for SignedUrlKey
Auto Trait Implementations§
impl Freeze for SignedUrlKey
impl RefUnwindSafe for SignedUrlKey
impl Send for SignedUrlKey
impl Sync for SignedUrlKey
impl Unpin for SignedUrlKey
impl UnwindSafe for SignedUrlKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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