pub struct Id<K> {
pub id: String,
/* private fields */
}Expand description
The id of content of kind K: written @item:minecraft:stick or, in a
field that can only be an item, just minecraft:stick (stick).
Fields§
§id: StringImplementations§
Trait Implementations§
impl<K> Eq for Id<K>
Source§impl<K: Kind> Schema for Id<K>
impl<K: Kind> Schema for Id<K>
Auto Trait Implementations§
impl<K> Freeze for Id<K>where
PhantomData<K>: Freeze,
impl<K> RefUnwindSafe for Id<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for Id<K>where
PhantomData<K>: Send,
impl<K> Sync for Id<K>where
PhantomData<K>: Sync,
impl<K> Unpin for Id<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for Id<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for Id<K>where
PhantomData<K>: 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