pub struct CatalogCandidateSourceUrl {
pub kind: CatalogCandidateSourceUrlKind,
pub url: String,
}Expand description
Candidate whose card is retrieved from a URL through the runtime’s hardened fetch boundary.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: CatalogCandidateSourceUrlKindDiscriminator: the card is URL-backed, and carries no embedded data
url: StringCard URL as advertised. Inert untrusted data: the runtime retrieves it only through its own hardened boundary, and it is never logged.
Trait Implementations§
Source§impl Clone for CatalogCandidateSourceUrl
impl Clone for CatalogCandidateSourceUrl
Source§fn clone(&self) -> CatalogCandidateSourceUrl
fn clone(&self) -> CatalogCandidateSourceUrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CatalogCandidateSourceUrl
impl Debug for CatalogCandidateSourceUrl
Source§impl Default for CatalogCandidateSourceUrl
impl Default for CatalogCandidateSourceUrl
Source§fn default() -> CatalogCandidateSourceUrl
fn default() -> CatalogCandidateSourceUrl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CatalogCandidateSourceUrl
impl<'de> Deserialize<'de> for CatalogCandidateSourceUrl
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 CatalogCandidateSourceUrl
impl RefUnwindSafe for CatalogCandidateSourceUrl
impl Send for CatalogCandidateSourceUrl
impl Sync for CatalogCandidateSourceUrl
impl Unpin for CatalogCandidateSourceUrl
impl UnsafeUnpin for CatalogCandidateSourceUrl
impl UnwindSafe for CatalogCandidateSourceUrl
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