pub struct ClassInfo {
pub name: String,
pub fields: Vec<FieldInfo>,
pub annotations: Vec<PlanningAnnotation>,
}Fields§
§name: String§fields: Vec<FieldInfo>§annotations: Vec<PlanningAnnotation>Implementations§
Source§impl ClassInfo
impl ClassInfo
pub fn new(name: impl Into<String>) -> Self
pub fn with_field(self, field: FieldInfo) -> Self
pub fn with_annotation(self, annotation: PlanningAnnotation) -> Self
Trait Implementations§
impl StructuralPartialEq for ClassInfo
Auto Trait Implementations§
impl Freeze for ClassInfo
impl RefUnwindSafe for ClassInfo
impl Send for ClassInfo
impl Sync for ClassInfo
impl Unpin for ClassInfo
impl UnwindSafe for ClassInfo
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