pub struct TomlAsset(/* private fields */);
Implementations§
source§impl TomlAsset
impl TomlAsset
pub fn get(&self) -> &Value
pub fn deserialize<T>(&self) -> Result<T, String>where T: DeserializeOwned,
Auto Trait Implementations§
impl RefUnwindSafe for TomlAsset
impl Send for TomlAsset
impl Sync for TomlAsset
impl Unpin for TomlAsset
impl UnwindSafe for TomlAsset
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