pub struct SourceQuery {
pub repo: String,
pub at: String,
pub around: usize,
}Expand description
GET /api/v1/source?repo=&at=path:line&around=.
Fields§
§repo: String§at: Stringpath:line, relative to the repository.
around: usizeTrait Implementations§
Source§impl Clone for SourceQuery
impl Clone for SourceQuery
Source§impl Debug for SourceQuery
impl Debug for SourceQuery
Source§impl<'de> Deserialize<'de> for SourceQuery
impl<'de> Deserialize<'de> for SourceQuery
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
Auto Trait Implementations§
impl Forget for SourceQuery
impl Freeze for SourceQuery
impl RefUnwindSafe for SourceQuery
impl Send for SourceQuery
impl Sync for SourceQuery
impl Unpin for SourceQuery
impl UnsafeUnpin for SourceQuery
impl UnwindSafe for SourceQuery
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