pub struct SurveyDeposit {
pub symbol: String,
}Expand description
A surveyed deposit of a mineral or resource available for extraction.
Fields§
§symbol: StringThe symbol of the deposit.
Implementations§
Source§impl SurveyDeposit
impl SurveyDeposit
Sourcepub fn new(symbol: String) -> SurveyDeposit
pub fn new(symbol: String) -> SurveyDeposit
Create value with optional fields set to None.
Trait Implementations§
Source§impl Clone for SurveyDeposit
impl Clone for SurveyDeposit
Source§fn clone(&self) -> SurveyDeposit
fn clone(&self) -> SurveyDeposit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SurveyDeposit
impl Debug for SurveyDeposit
Source§impl<'de> Deserialize<'de> for SurveyDeposit
impl<'de> Deserialize<'de> for SurveyDeposit
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
Source§impl PartialEq for SurveyDeposit
impl PartialEq for SurveyDeposit
Source§impl Serialize for SurveyDeposit
impl Serialize for SurveyDeposit
impl StructuralPartialEq for SurveyDeposit
Auto Trait Implementations§
impl Freeze for SurveyDeposit
impl RefUnwindSafe for SurveyDeposit
impl Send for SurveyDeposit
impl Sync for SurveyDeposit
impl Unpin for SurveyDeposit
impl UnwindSafe for SurveyDeposit
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