pub struct AgentResource {
pub uri: &'static str,
pub name: &'static str,
pub description: &'static str,
pub media_type: &'static str,
}Expand description
Something to read: its URI, name, what it is and its media type. A
template URI has one {…} part, filled in to read it.
Fields§
§uri: &'static str§name: &'static str§description: &'static str§media_type: &'static strTrait Implementations§
Source§impl Clone for AgentResource
impl Clone for AgentResource
Source§fn clone(&self) -> AgentResource
fn clone(&self) -> AgentResource
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 AgentResource
impl Debug for AgentResource
Source§impl PartialEq for AgentResource
impl PartialEq for AgentResource
impl StructuralPartialEq for AgentResource
Auto Trait Implementations§
impl Freeze for AgentResource
impl RefUnwindSafe for AgentResource
impl Send for AgentResource
impl Sync for AgentResource
impl Unpin for AgentResource
impl UnsafeUnpin for AgentResource
impl UnwindSafe for AgentResource
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