pub struct StatusBuilder { /* private fields */ }Implementations§
Source§impl StatusBuilder
impl StatusBuilder
pub fn new() -> Self
pub fn status(self, status: impl Into<Option<Status>>) -> Self
pub fn is_rewatching(self, is_rewatching: impl Into<Option<bool>>) -> Self
pub fn score(self, score: impl Into<Option<u8>>) -> Self
pub fn num_watched_episodes( self, num_watched_episodes: impl Into<Option<u32>>, ) -> Self
pub fn priority(self, priority: impl Into<Option<u8>>) -> Self
pub fn num_times_rewatched( self, num_times_rewatched: impl Into<Option<u32>>, ) -> Self
pub fn rewatch_value(self, rewatch_value: impl Into<Option<u8>>) -> Self
pub fn comments(self, comments: impl Into<Option<String>>) -> Self
pub fn build(self) -> StatusUpdate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatusBuilder
impl RefUnwindSafe for StatusBuilder
impl Send for StatusBuilder
impl Sync for StatusBuilder
impl Unpin for StatusBuilder
impl UnwindSafe for StatusBuilder
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