pub struct StructureSummary {
pub name: String,
pub formula: String,
pub hall: String,
pub n_sites: usize,
pub volume: f64,
pub density: f64,
pub total_charge: f64,
pub is_p1: bool,
pub warnings: Vec<StructureWarning>,
}Expand description
Summary of a structure for the surfaces.
Fields§
§name: StringStructure name.
formula: StringFormula string.
hall: StringHall symbol.
n_sites: usizeNumber of asymmetric sites.
volume: f64Cell volume in cubic Angstrom.
density: f64Density in g/cm3.
total_charge: f64Total charge.
is_p1: boolWhether the structure is P1.
warnings: Vec<StructureWarning>Structured reader and geometry warnings.
Trait Implementations§
Source§impl Clone for StructureSummary
impl Clone for StructureSummary
Source§impl Debug for StructureSummary
impl Debug for StructureSummary
Source§impl PartialEq for StructureSummary
impl PartialEq for StructureSummary
Source§impl Serialize for StructureSummary
impl Serialize for StructureSummary
impl StructuralPartialEq for StructureSummary
Auto Trait Implementations§
impl Forget for StructureSummary
impl Freeze for StructureSummary
impl Move for StructureSummary
impl RefUnwindSafe for StructureSummary
impl Send for StructureSummary
impl Sync for StructureSummary
impl Unpin for StructureSummary
impl UnsafeUnpin for StructureSummary
impl UnwindSafe for StructureSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more