Struct gapi_grpc::google::api::expr::v1beta1::SourcePosition[][src]

pub struct SourcePosition {
    pub location: String,
    pub offset: i32,
    pub line: i32,
    pub column: i32,
}

A specific position in source.

Fields

location: String

The soucre location name (e.g. file name).

offset: i32

The character offset.

line: i32

The 1-based index of the starting line in the source text where the issue occurs, or 0 if unknown.

column: i32

The 0-based index of the starting position within the line of source text where the issue occurs. Only meaningful if line is nonzer..

Trait Implementations

impl Clone for SourcePosition[src]

impl Debug for SourcePosition[src]

impl Default for SourcePosition[src]

impl Message for SourcePosition[src]

impl PartialEq<SourcePosition> for SourcePosition[src]

impl StructuralPartialEq for SourcePosition[src]

Auto Trait Implementations

impl RefUnwindSafe for SourcePosition

impl Send for SourcePosition

impl Sync for SourcePosition

impl Unpin for SourcePosition

impl UnwindSafe for SourcePosition

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]