pub struct EntityDef {
pub name: String,
pub key: String,
pub format: String,
pub is_directory: bool,
}Expand description
A BIDS entity definition from the schema.
Fields§
§name: String§key: StringThe BIDS key prefix (e.g., “sub” for subject, “ses” for session).
format: StringFormat: “label”, “index”, etc.
is_directory: boolWhether this entity creates a directory level.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntityDef
impl<'de> Deserialize<'de> for EntityDef
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
Auto Trait Implementations§
impl Freeze for EntityDef
impl RefUnwindSafe for EntityDef
impl Send for EntityDef
impl Sync for EntityDef
impl Unpin for EntityDef
impl UnsafeUnpin for EntityDef
impl UnwindSafe for EntityDef
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