Struct google_api_proto::google::genomics::v1::transcript::Exon
source · pub struct Exon {
pub start: i64,
pub end: i64,
pub frame: Option<i32>,
}
Fields§
§start: i64
The start position of the exon on this annotation’s reference sequence, 0-based inclusive. Note that this is relative to the reference start, and not the containing annotation start.
end: i64
The end position of the exon on this annotation’s reference sequence, 0-based exclusive. Note that this is relative to the reference start, and not the containing annotation start.
frame: Option<i32>
The frame of this exon. Contains a value of 0, 1, or 2, which indicates
the offset of the first coding base of the exon within the reading frame
of the coding DNA sequence, if any. This field is dependent on the
strandedness of this annotation (see
[Annotation.reverse_strand][google.genomics.v1.Annotation.reverse_strand]).
For forward stranded annotations, this offset is relative to the
[exon.start][google.genomics.v1.Transcript.Exon.start]. For reverse
strand annotations, this offset is relative to the
[exon.end][google.genomics.v1.Transcript.Exon.end] - 1
.
Unset if this exon does not intersect the coding sequence. Upon creation of a transcript, the frame must be populated for all or none of the coding exons.
Trait Implementations§
source§impl Message for Exon
impl Message for Exon
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Exon
impl PartialEq for Exon
impl Copy for Exon
impl StructuralPartialEq for Exon
Auto Trait Implementations§
impl Freeze for Exon
impl RefUnwindSafe for Exon
impl Send for Exon
impl Sync for Exon
impl Unpin for Exon
impl UnwindSafe for Exon
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request