pub struct Relation {
pub mineral_id: i32,
pub relation_type: i32,
pub relation_type_text: String,
}Expand description
Relation between geomaterials.
Fields§
§mineral_id: i32ID of the related mineral.
relation_type: i32Type of relation (1-13). 1=Synonym, 2=Mixture, 4=Structurally related, 5=Associated at type locality, 6=Epitaxial, 7=Polymorph, 8=Isostructural, 9=Chemically related, 10=Common Associates, 11=Essential minerals, 12=Common ore minerals, 13=Accessory minerals
relation_type_text: StringHuman-readable relation type description.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Relation
impl<'de> Deserialize<'de> for Relation
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 Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnwindSafe for Relation
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