Struct wick_config::config::UrlResource
source · pub struct UrlResource { /* private fields */ }Expand description
A URL resource.
Implementations§
source§impl UrlResource
impl UrlResource
pub fn url(&self) -> &TemplateConfig<Url>
source§impl UrlResource
impl UrlResource
sourcepub fn into_inner(self) -> TemplateConfig<Url>
pub fn into_inner(self) -> TemplateConfig<Url>
Get the URL.
Trait Implementations§
source§impl Clone for UrlResource
impl Clone for UrlResource
source§fn clone(&self) -> UrlResource
fn clone(&self) -> UrlResource
Returns a copy 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 UrlResource
impl Debug for UrlResource
source§impl Display for UrlResource
impl Display for UrlResource
source§impl From<Url> for UrlResource
impl From<Url> for UrlResource
source§impl From<UrlResource> for ResourceDefinition
impl From<UrlResource> for ResourceDefinition
source§fn from(value: UrlResource) -> Self
fn from(value: UrlResource) -> Self
Converts to this type from the input type.
source§impl Hash for UrlResource
impl Hash for UrlResource
source§impl PartialEq<UrlResource> for UrlResource
impl PartialEq<UrlResource> for UrlResource
source§fn eq(&self, other: &UrlResource) -> bool
fn eq(&self, other: &UrlResource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UrlResource
impl Serialize for UrlResource
source§impl TryFrom<ResourceDefinition> for UrlResource
impl TryFrom<ResourceDefinition> for UrlResource
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<String> for UrlResource
impl TryFrom<String> for UrlResource
source§impl TryFrom<UrlResource> for Url
impl TryFrom<UrlResource> for Url
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl Eq for UrlResource
impl StructuralEq for UrlResource
impl StructuralPartialEq for UrlResource
Auto Trait Implementations§
impl RefUnwindSafe for UrlResource
impl Send for UrlResource
impl Sync for UrlResource
impl Unpin for UrlResource
impl UnwindSafe for UrlResource
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.