pub struct CodeRouteRecord {
pub repository_id: String,
pub source_scope: String,
pub route_id: String,
pub file_id: String,
pub path: String,
pub language_id: String,
pub url: String,
pub http_method: String,
pub handler_name: String,
pub handler_symbol_snapshot_id: Option<String>,
pub framework: String,
pub line_range: RepositoryCodeRange,
}Expand description
Web framework route mapping extracted from source code.
Fields§
§repository_id: String§source_scope: String§route_id: String§file_id: String§path: String§language_id: String§url: String§http_method: StringLowercase HTTP verb, or any when a framework route accepts all methods.
handler_name: String§handler_symbol_snapshot_id: Option<String>§framework: String§line_range: RepositoryCodeRangeTrait Implementations§
Source§impl Clone for CodeRouteRecord
impl Clone for CodeRouteRecord
Source§fn clone(&self) -> CodeRouteRecord
fn clone(&self) -> CodeRouteRecord
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 CodeRouteRecord
impl Debug for CodeRouteRecord
Source§impl<'de> Deserialize<'de> for CodeRouteRecord
impl<'de> Deserialize<'de> for CodeRouteRecord
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 CodeRouteRecord
Source§impl PartialEq for CodeRouteRecord
impl PartialEq for CodeRouteRecord
Source§fn eq(&self, other: &CodeRouteRecord) -> bool
fn eq(&self, other: &CodeRouteRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeRouteRecord
impl Serialize for CodeRouteRecord
impl StructuralPartialEq for CodeRouteRecord
Auto Trait Implementations§
impl Freeze for CodeRouteRecord
impl RefUnwindSafe for CodeRouteRecord
impl Send for CodeRouteRecord
impl Sync for CodeRouteRecord
impl Unpin for CodeRouteRecord
impl UnsafeUnpin for CodeRouteRecord
impl UnwindSafe for CodeRouteRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.