#[non_exhaustive]pub struct PreviewResult {
pub binary_signed_uri: String,
pub json_signed_uri: String,
/* private fields */
}Expand description
Contains a signed Cloud Storage URLs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.binary_signed_uri: StringOutput only. Plan binary signed URL
json_signed_uri: StringOutput only. Plan JSON signed URL
Implementations§
Source§impl PreviewResult
impl PreviewResult
pub fn new() -> Self
Sourcepub fn set_binary_signed_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_binary_signed_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of binary_signed_uri.
§Example
ⓘ
let x = PreviewResult::new().set_binary_signed_uri("example");Sourcepub fn set_json_signed_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_json_signed_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of json_signed_uri.
§Example
ⓘ
let x = PreviewResult::new().set_json_signed_uri("example");Trait Implementations§
Source§impl Clone for PreviewResult
impl Clone for PreviewResult
Source§fn clone(&self) -> PreviewResult
fn clone(&self) -> PreviewResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreviewResult
impl Debug for PreviewResult
Source§impl Default for PreviewResult
impl Default for PreviewResult
Source§fn default() -> PreviewResult
fn default() -> PreviewResult
Returns the “default value” for a type. Read more
Source§impl Message for PreviewResult
impl Message for PreviewResult
Source§impl PartialEq for PreviewResult
impl PartialEq for PreviewResult
impl StructuralPartialEq for PreviewResult
Auto Trait Implementations§
impl Freeze for PreviewResult
impl RefUnwindSafe for PreviewResult
impl Send for PreviewResult
impl Sync for PreviewResult
impl Unpin for PreviewResult
impl UnsafeUnpin for PreviewResult
impl UnwindSafe for PreviewResult
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