Struct safe_vk::util::TestHardness
source · pub struct TestHardness {
pub update: Update,
}Fields§
§update: UpdateImplementations§
source§impl TestHardness
impl TestHardness
pub fn new(object: Vec<Event<Value>>) -> TestHardness
pub fn dummy_request(&self) -> RequestBuilder
pub fn dummy_message(message: &str) -> Event<Value>
Auto Trait Implementations§
impl Freeze for TestHardness
impl RefUnwindSafe for TestHardness
impl Send for TestHardness
impl Sync for TestHardness
impl Unpin for TestHardness
impl UnwindSafe for TestHardness
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