pub struct GGStage {
pub id: Option<i64>,
pub name: Option<String>,
}Expand description
Equivalent for start.gg Stage.
Each element in the structure is optional, allowing a user to only query values they want. Given each is an option and not a requirement, a method is included for each element with the same name. These methods will unwrap and return the proper value without any unwrapping or references needed.
Fields§
§id: Option<i64>§name: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GGStage
impl<'de> Deserialize<'de> for GGStage
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 GGStage
impl RefUnwindSafe for GGStage
impl Send for GGStage
impl Sync for GGStage
impl Unpin for GGStage
impl UnwindSafe for GGStage
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