pub struct Ruling {
pub date: Option<NaiveDate>,
pub text: Option<String>,
}
Expand description
Describes a list of rulings for a Card.
Fields§
§date: Option<NaiveDate>
The release date in ISO 8601 format for the rule.
text: Option<String>
The text ruling of the card.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ruling
impl<'de> Deserialize<'de> for Ruling
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 Ruling
impl RefUnwindSafe for Ruling
impl Send for Ruling
impl Sync for Ruling
impl Unpin for Ruling
impl UnwindSafe for Ruling
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