pub struct SharedStorageUrlWithMetadata {
pub url: String,
pub reporting_metadata: Vec<SharedStorageReportingMetadata>,
}
Expand description
Bundles a candidate URL with its reporting metadata. SharedStorageUrlWithMetadata
Fields§
§url: String
Spec of candidate URL.
reporting_metadata: Vec<SharedStorageReportingMetadata>
Any associated reporting metadata.
Implementations§
pub fn new( url: impl Into<String>, reporting_metadata: Vec<SharedStorageReportingMetadata>, ) -> SharedStorageUrlWithMetadata
pub fn builder() -> SharedStorageUrlWithMetadataBuilder
pub const IDENTIFIER: &'static str = "Storage.SharedStorageUrlWithMetadata"
Trait Implementations§
Source§fn clone(&self) -> SharedStorageUrlWithMetadata
fn clone(&self) -> SharedStorageUrlWithMetadata
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§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SharedStorageUrlWithMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SharedStorageUrlWithMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§fn eq(&self, other: &SharedStorageUrlWithMetadata) -> bool
fn eq(&self, other: &SharedStorageUrlWithMetadata) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
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