pub struct Vndb { /* private fields */ }Implementations§
Source§impl Vndb
impl Vndb
pub fn find_character(self: &Arc<Self>, id: &CharacterId) -> CharacterQuery
pub fn find_producer(self: &Arc<Self>, id: &ProducerId) -> ProducerQuery
pub fn find_release(self: &Arc<Self>, id: &ReleaseId) -> ReleaseQuery
pub fn find_staff(self: &Arc<Self>, id: &StaffId) -> StaffQuery
pub fn find_tag(self: &Arc<Self>, id: &TagId) -> TagQuery
pub fn find_trait(self: &Arc<Self>, id: &TraitId) -> TraitQuery
pub async fn find_user(self: &Arc<Self>, id: &UserId) -> Result<Option<User>>
pub fn find_visual_novel( self: &Arc<Self>, id: &VisualNovelId, ) -> VisualNovelQuery
pub fn search_character( self: &Arc<Self>, query: impl AsRef<str>, ) -> CharacterQuery
pub fn search_producer( self: &Arc<Self>, query: impl AsRef<str>, ) -> ProducerQuery
pub fn search_release(self: &Arc<Self>, query: impl AsRef<str>) -> ReleaseQuery
pub fn search_staff(self: &Arc<Self>, query: impl AsRef<str>) -> StaffQuery
pub fn search_tag(self: &Arc<Self>, query: impl AsRef<str>) -> TagQuery
pub fn search_trait(self: &Arc<Self>, query: impl AsRef<str>) -> TraitQuery
pub fn search_visual_novel( self: &Arc<Self>, query: impl AsRef<str>, ) -> VisualNovelQuery
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vndb
impl RefUnwindSafe for Vndb
impl Send for Vndb
impl Sync for Vndb
impl Unpin for Vndb
impl UnsafeUnpin for Vndb
impl UnwindSafe for Vndb
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more