pub struct Resource {
pub id: Id,
pub owner: Owner,
pub name: String,
pub version: Version,
pub realm: Id,
pub code_version: Version,
pub exclusive: bool,
pub dependencies: Vec<Id>,
pub value: Option<Id>,
pub closing: bool,
}Fields§
§id: Id§owner: Owner§name: String§version: Version§realm: IdKernel-derived execution realm: zero for host and native revisions, otherwise the isolated orb revision identity. Values are reused only inside the same realm.
code_version: Version§exclusive: bool§dependencies: Vec<Id>§value: Option<Id>§closing: boolTrait Implementations§
impl Eq for Resource
impl StructuralPartialEq for Resource
Auto Trait Implementations§
impl Forget for Resource
impl Freeze for Resource
impl Move for Resource
impl RefUnwindSafe for Resource
impl Send for Resourcewhere
RawVecInner: Send,
impl Sync for Resourcewhere
RawVecInner: Sync,
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resourcewhere
RawVecInner: UnwindSafe,
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