pub struct ResourcePattern(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for ResourcePattern
impl Clone for ResourcePattern
Source§fn clone(&self) -> ResourcePattern
fn clone(&self) -> ResourcePattern
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 ResourcePattern
impl Debug for ResourcePattern
Source§impl<'de> Deserialize<'de> for ResourcePattern
impl<'de> Deserialize<'de> for ResourcePattern
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
Source§impl PartialEq for ResourcePattern
impl PartialEq for ResourcePattern
Source§fn eq(&self, other: &ResourcePattern) -> bool
fn eq(&self, other: &ResourcePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResourcePattern
impl Serialize for ResourcePattern
impl Eq for ResourcePattern
impl StructuralPartialEq for ResourcePattern
Auto Trait Implementations§
impl Freeze for ResourcePattern
impl RefUnwindSafe for ResourcePattern
impl Send for ResourcePattern
impl Sync for ResourcePattern
impl Unpin for ResourcePattern
impl UnsafeUnpin for ResourcePattern
impl UnwindSafe for ResourcePattern
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