Struct scrypto::prelude::metadata::CheckedUrl
source · pub struct CheckedUrl(String);
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl From<CheckedUrl> for UncheckedUrl
impl From<CheckedUrl> for UncheckedUrl
source§fn from(value: CheckedUrl) -> UncheckedUrl
fn from(value: CheckedUrl) -> UncheckedUrl
Converts to this type from the input type.
source§impl TryFrom<UncheckedUrl> for CheckedUrl
impl TryFrom<UncheckedUrl> for CheckedUrl
source§fn try_from(
value: UncheckedUrl
) -> Result<CheckedUrl, <CheckedUrl as TryFrom<UncheckedUrl>>::Error>
fn try_from( value: UncheckedUrl ) -> Result<CheckedUrl, <CheckedUrl as TryFrom<UncheckedUrl>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for CheckedUrl
impl Send for CheckedUrl
impl Sync for CheckedUrl
impl Unpin for CheckedUrl
impl UnwindSafe for CheckedUrl
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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