pub struct WebResource { /* private fields */ }
Implementations§
Source§impl WebResource
impl WebResource
pub fn data<T>(self, value: T) -> Self
pub fn data_classification<T>(self, value: T) -> Self
pub fn desc<T>(self, value: T) -> Self
pub fn labels<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn type_<T>(self, value: T) -> Self
pub fn uid<T>(self, value: T) -> Self
pub fn url_string<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for WebResource
impl Clone for WebResource
Source§fn clone(&self) -> WebResource
fn clone(&self) -> WebResource
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 WebResource
impl Debug for WebResource
Source§impl Default for WebResource
impl Default for WebResource
Source§impl From<WebResource> for WebResource
impl From<WebResource> for WebResource
Source§fn from(value: WebResource) -> Self
fn from(value: WebResource) -> Self
Converts to this type from the input type.
Source§impl TryFrom<WebResource> for WebResource
impl TryFrom<WebResource> for WebResource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WebResource) -> Result<Self, ConversionError>
fn try_from(value: WebResource) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WebResource
impl RefUnwindSafe for WebResource
impl Send for WebResource
impl Sync for WebResource
impl Unpin for WebResource
impl UnwindSafe for WebResource
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