Struct google_clouddebugger2::api::SourceLocation
source · pub struct SourceLocation {
pub column: Option<i32>,
pub line: Option<i32>,
pub path: Option<String>,
}
Expand description
Represents a location in the source code.
This type is not used in any activity, and only used as part of another schema.
Fields§
§column: Option<i32>
Column within a line. The first column in a line as the value 1
. Agents that do not support setting breakpoints on specific columns ignore this field.
line: Option<i32>
Line inside the file. The first line in the file has the value 1
.
path: Option<String>
Path to the source file within the source context of the target binary.
Trait Implementations§
source§impl Clone for SourceLocation
impl Clone for SourceLocation
source§fn clone(&self) -> SourceLocation
fn clone(&self) -> SourceLocation
Returns a copy of the value. Read more
1.0.0 · 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 SourceLocation
impl Debug for SourceLocation
source§impl Default for SourceLocation
impl Default for SourceLocation
source§fn default() -> SourceLocation
fn default() -> SourceLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SourceLocation
impl<'de> Deserialize<'de> for SourceLocation
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
source§impl Serialize for SourceLocation
impl Serialize for SourceLocation
impl Part for SourceLocation
Auto Trait Implementations§
impl RefUnwindSafe for SourceLocation
impl Send for SourceLocation
impl Sync for SourceLocation
impl Unpin for SourceLocation
impl UnwindSafe for SourceLocation
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