pub struct ViewReadQuery {
pub uri: String,
pub scheme: Option<String>,
pub context_lines: usize,
pub include_code: bool,
}Fields§
§uri: String§scheme: Option<String>§context_lines: usize§include_code: boolTrait Implementations§
Source§impl Clone for ViewReadQuery
impl Clone for ViewReadQuery
Source§fn clone(&self) -> ViewReadQuery
fn clone(&self) -> ViewReadQuery
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 ViewReadQuery
impl Debug for ViewReadQuery
Source§impl<'de> Deserialize<'de> for ViewReadQuery
impl<'de> Deserialize<'de> for ViewReadQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ViewReadQuery
Source§impl PartialEq for ViewReadQuery
impl PartialEq for ViewReadQuery
Source§impl Serialize for ViewReadQuery
impl Serialize for ViewReadQuery
impl StructuralPartialEq for ViewReadQuery
Auto Trait Implementations§
impl Freeze for ViewReadQuery
impl RefUnwindSafe for ViewReadQuery
impl Send for ViewReadQuery
impl Sync for ViewReadQuery
impl Unpin for ViewReadQuery
impl UnsafeUnpin for ViewReadQuery
impl UnwindSafe for ViewReadQuery
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