pub struct SourceTargetResolution {
pub key: Option<SourceTargetResolutionKey>,
pub computed_for: Option<RevisionRef>,
pub status: i32,
pub location: Option<SourceLocation>,
}Fields§
§key: Option<SourceTargetResolutionKey>§computed_for: Option<RevisionRef>Exact revision actually checked; must respect a historical viewed revision. Absent for UNAVAILABLE. Emission requires that revision’s visibility proof.
status: i32§location: Option<SourceLocation>Present only for RESOLVED, with revision equal to computed_for. Both the source Thread and whole-tip/entry visibility are independently authorized.
Implementations§
Trait Implementations§
Source§impl Clone for SourceTargetResolution
impl Clone for SourceTargetResolution
Source§impl Debug for SourceTargetResolution
impl Debug for SourceTargetResolution
Source§impl Default for SourceTargetResolution
impl Default for SourceTargetResolution
impl Eq for SourceTargetResolution
Source§impl Hash for SourceTargetResolution
impl Hash for SourceTargetResolution
Source§impl Message for SourceTargetResolution
impl Message for SourceTargetResolution
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for SourceTargetResolution
impl PartialEq for SourceTargetResolution
impl StructuralPartialEq for SourceTargetResolution
Auto Trait Implementations§
impl Freeze for SourceTargetResolution
impl RefUnwindSafe for SourceTargetResolution
impl Send for SourceTargetResolution
impl Sync for SourceTargetResolution
impl Unpin for SourceTargetResolution
impl UnsafeUnpin for SourceTargetResolution
impl UnwindSafe for SourceTargetResolution
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