pub struct EntryMetadata {
pub id: Option<Box<str>>,
pub title: Option<Box<str>>,
pub method: Option<Box<str>>,
pub resolution: Option<f32>,
pub space_group: Option<Box<str>>,
pub input_name: Option<Box<str>>,
pub input_sha256: Option<ContentDigest>,
}Expand description
What the entry as a whole says about itself.
The identifier is a variable-length string. Four characters was a property of one file format, not of the archive, and extended identifiers are already being issued.
Fields§
§id: Option<Box<str>>The entry identifier, as deposited.
title: Option<Box<str>>The entry title.
method: Option<Box<str>>The experimental method.
resolution: Option<f32>Resolution in ångström, where the method reports one.
space_group: Option<Box<str>>The space-group symbol as the file wrote it, for formats that carry
only a name (a PDB CRYST1 record) rather than symmetry operations.
input_name: Option<Box<str>>The name of the input the structure was read from, where it had one.
input_sha256: Option<ContentDigest>The SHA-256 of the bytes that were parsed, recorded when the read asked for it
(ReadOptions::digest_input). Hashing costs time on every read, so it is a
choice, and a structure read without it cannot be certified byte-identical.
Trait Implementations§
Source§impl Clone for EntryMetadata
impl Clone for EntryMetadata
Source§impl Debug for EntryMetadata
impl Debug for EntryMetadata
Auto Trait Implementations§
impl Freeze for EntryMetadata
impl RefUnwindSafe for EntryMetadata
impl Send for EntryMetadata
impl Sync for EntryMetadata
impl Unpin for EntryMetadata
impl UnsafeUnpin for EntryMetadata
impl UnwindSafe for EntryMetadata
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
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> ⓘ
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> ⓘ
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