pub struct SchemaCategory {
pub id: String,
pub select: String,
pub install_root: String,
}Expand description
One [[category]] of a game’s schema.
Fields§
§id: StringThe folder under an access directory, as PackageInfo::category() reports it.
select: StringSELECT_ONE or SELECT_ANY.
install_root: StringA token such as INSTALL_ROOT_GAME, never a path.
Trait Implementations§
Source§impl Clone for SchemaCategory
impl Clone for SchemaCategory
Source§fn clone(&self) -> SchemaCategory
fn clone(&self) -> SchemaCategory
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 SchemaCategory
impl Debug for SchemaCategory
Source§impl<'de> Deserialize<'de> for SchemaCategory
impl<'de> Deserialize<'de> for SchemaCategory
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
impl Eq for SchemaCategory
Source§impl PartialEq for SchemaCategory
impl PartialEq for SchemaCategory
Source§impl Serialize for SchemaCategory
impl Serialize for SchemaCategory
impl StructuralPartialEq for SchemaCategory
Auto Trait Implementations§
impl Freeze for SchemaCategory
impl RefUnwindSafe for SchemaCategory
impl Send for SchemaCategory
impl Sync for SchemaCategory
impl Unpin for SchemaCategory
impl UnsafeUnpin for SchemaCategory
impl UnwindSafe for SchemaCategory
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