pub struct CachedResource { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Information about the cached resource.
Implementations§
Source§impl CachedResource
impl CachedResource
pub fn builder() -> CachedResourceBuilder
Sourcepub fn type(&self) -> &ResourceType
pub fn type(&self) -> &ResourceType
Type of this resource.
Trait Implementations§
Source§impl Clone for CachedResource
impl Clone for CachedResource
Source§fn clone(&self) -> CachedResource
fn clone(&self) -> CachedResource
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 CachedResource
impl Debug for CachedResource
Source§impl<'de> Deserialize<'de> for CachedResource
impl<'de> Deserialize<'de> for CachedResource
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
Auto Trait Implementations§
impl Freeze for CachedResource
impl RefUnwindSafe for CachedResource
impl Send for CachedResource
impl Sync for CachedResource
impl Unpin for CachedResource
impl UnwindSafe for CachedResource
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