#[non_exhaustive]pub enum ResourceReference {
Id(String),
Url(String),
}Expand description
A resource locator understood by the host boundary. An Id is interpreted
using the associated scope’s upstream and identity; a Url remains subject
to host authorization. Neither form grants deletion authority.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ResourceReference
impl Clone for ResourceReference
Source§impl Debug for ResourceReference
impl Debug for ResourceReference
impl Eq for ResourceReference
Source§impl Hash for ResourceReference
impl Hash for ResourceReference
Source§impl PartialEq for ResourceReference
impl PartialEq for ResourceReference
impl StructuralPartialEq for ResourceReference
Auto Trait Implementations§
impl Freeze for ResourceReference
impl RefUnwindSafe for ResourceReference
impl Send for ResourceReference
impl Sync for ResourceReference
impl Unpin for ResourceReference
impl UnsafeUnpin for ResourceReference
impl UnwindSafe for ResourceReference
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