pub struct BookID {
pub code: i32,
pub label: Option<String>,
pub cluster: i32,
}
Expand description
A book identifier with optional label used as a graph node.
Fields§
§code: i32
§label: Option<String>
§cluster: i32
Trait Implementations§
source§impl<'de> Deserialize<'de> for BookID
impl<'de> Deserialize<'de> for BookID
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 RefUnwindSafe for BookID
impl Send for BookID
impl Sync for BookID
impl Unpin for BookID
impl UnwindSafe for BookID
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