pub struct IdNameLink {
pub id: u16,
pub name: String,
pub link: String,
pub parent_org_id: Option<u16>,
}Fields§
§id: u16§name: String§link: String§parent_org_id: Option<u16>Present when the team is a minor-league affiliate, points to the MLB parent org.
Trait Implementations§
Source§impl Debug for IdNameLink
impl Debug for IdNameLink
Source§impl Default for IdNameLink
impl Default for IdNameLink
Source§fn default() -> IdNameLink
fn default() -> IdNameLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdNameLink
impl<'de> Deserialize<'de> for IdNameLink
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 IdNameLink
impl RefUnwindSafe for IdNameLink
impl Send for IdNameLink
impl Sync for IdNameLink
impl Unpin for IdNameLink
impl UnsafeUnpin for IdNameLink
impl UnwindSafe for IdNameLink
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