pub struct ResourceScopeId(/* private fields */);Implementations§
Source§impl ResourceScopeId
impl ResourceScopeId
pub fn new( value: impl Into<String>, ) -> Result<ResourceScopeId, ToolValidationError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ResourceScopeId
impl Clone for ResourceScopeId
Source§fn clone(&self) -> ResourceScopeId
fn clone(&self) -> ResourceScopeId
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 ResourceScopeId
impl Debug for ResourceScopeId
Source§impl<'de> Deserialize<'de> for ResourceScopeId
impl<'de> Deserialize<'de> for ResourceScopeId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceScopeId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResourceScopeId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ResourceScopeId
impl Display for ResourceScopeId
impl Eq for ResourceScopeId
Source§impl Hash for ResourceScopeId
impl Hash for ResourceScopeId
Source§impl Ord for ResourceScopeId
impl Ord for ResourceScopeId
Source§fn cmp(&self, other: &ResourceScopeId) -> Ordering
fn cmp(&self, other: &ResourceScopeId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResourceScopeId
impl PartialEq for ResourceScopeId
Source§impl PartialOrd for ResourceScopeId
impl PartialOrd for ResourceScopeId
Source§impl Serialize for ResourceScopeId
impl Serialize for ResourceScopeId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ResourceScopeId
Source§impl TryFrom<String> for ResourceScopeId
impl TryFrom<String> for ResourceScopeId
Source§type Error = ToolValidationError
type Error = ToolValidationError
The type returned in the event of a conversion error.
Source§fn try_from(
value: String,
) -> Result<ResourceScopeId, <ResourceScopeId as TryFrom<String>>::Error>
fn try_from( value: String, ) -> Result<ResourceScopeId, <ResourceScopeId as TryFrom<String>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ResourceScopeId
impl RefUnwindSafe for ResourceScopeId
impl Send for ResourceScopeId
impl Sync for ResourceScopeId
impl Unpin for ResourceScopeId
impl UnsafeUnpin for ResourceScopeId
impl UnwindSafe for ResourceScopeId
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