[−][src]Struct libosu::OsuDB
osu!.db object
Fields
version: u32
osu! game mode that this replay was recorded for
folder_count: u32
The amount of folders?
account_unlocked: bool
If the account is unlocked, aka not banned or locked.
unlocked_date: u64
When the account will be unlocked
This is value is measured in windows ticks (https://docs.microsoft.com/en-us/dotnet/api/system.datetime.ticks?redirectedfrom=MSDN&view=net-5.0#System_DateTime_Ticks) It counts the number of ticks from 12:00:00 midnight, January 1, 0001 to the time this replay was created
player_name: String
The player's username
beatmap_count: u32
The amount of beatmaps cached
beatmaps: Vec<OsuDBBeatmap>
The cached beatmaps
permissions: u8
The permissions of the user
Implementations
impl OsuDB
[src]
pub fn parse(mut reader: impl BufRead) -> Result<OsuDB, Error>
[src]
Parse the osu!.db data from a reader.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OsuDB
[src]
impl Send for OsuDB
[src]
impl Sync for OsuDB
[src]
impl Unpin for OsuDB
[src]
impl UnwindSafe for OsuDB
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,