Struct bookdata::goodreads::book::BookAuthorRecord
source · pub struct BookAuthorRecord {
pub book_id: i32,
pub author_id: i32,
pub role: Option<String>,
}
Expand description
book author linking records
Fields§
§book_id: i32
§role: Option<String>
Trait Implementations§
source§impl FrameBuilder<BookAuthorRecord> for BookAuthorRecordFrameBuilder
impl FrameBuilder<BookAuthorRecord> for BookAuthorRecordFrameBuilder
source§fn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Instantiate a frame builder with a specified capacity.
source§fn append_row(&mut self, row: BookAuthorRecord)
fn append_row(&mut self, row: BookAuthorRecord)
Add a row to the frame builder.
source§fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
Add an iterable of items to the frame.
source§impl<'a> FrameStruct<'a, BookAuthorRecord> for BookAuthorRecordFrame<'a>
impl<'a> FrameStruct<'a, BookAuthorRecord> for BookAuthorRecordFrame<'a>
source§impl TableRow for BookAuthorRecord
impl TableRow for BookAuthorRecord
§type Frame<'a> = BookAuthorRecordFrame<'a>
type Frame<'a> = BookAuthorRecordFrame<'a>
The frame struct for this row type.
§type Builder = BookAuthorRecordFrameBuilder
type Builder = BookAuthorRecordFrameBuilder
The frame builder type for this row type.
Auto Trait Implementations§
impl RefUnwindSafe for BookAuthorRecord
impl Send for BookAuthorRecord
impl Sync for BookAuthorRecord
impl Unpin for BookAuthorRecord
impl UnwindSafe for BookAuthorRecord
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