pub struct SearchEngine {
pub url: Box<str>,
pub name: Box<str>,
pub key: char,
}Fields§
§url: Box<str>§name: Box<str>§key: charTrait Implementations§
Source§impl Clone for SearchEngine
impl Clone for SearchEngine
Source§fn clone(&self) -> SearchEngine
fn clone(&self) -> SearchEngine
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchEngine
impl Debug for SearchEngine
Source§impl From<SearchEngine> for SearchEngine
impl From<SearchEngine> for SearchEngine
Source§fn from(value: SearchEngine) -> Self
fn from(value: SearchEngine) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SearchEngine
impl PartialEq for SearchEngine
Source§fn eq(&self, other: &SearchEngine) -> bool
fn eq(&self, other: &SearchEngine) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<SearchEngine> for SearchEngine
impl TryFrom<SearchEngine> for SearchEngine
impl Eq for SearchEngine
impl StructuralPartialEq for SearchEngine
Auto Trait Implementations§
impl Freeze for SearchEngine
impl RefUnwindSafe for SearchEngine
impl Send for SearchEngine
impl Sync for SearchEngine
impl Unpin for SearchEngine
impl UnsafeUnpin for SearchEngine
impl UnwindSafe for SearchEngine
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