pub struct CameraEdge {
pub output_node_id: Option<i64>,
pub output_id: Option<i64>,
pub input_node_id: Option<i64>,
pub input_id: Option<i64>,
pub vendor_data_version: Option<i32>,
pub vendor_data: Option<Vec<u8>>,
}Expand description
An adjacency list describing connections between CameraNodes, mapping nodes and their outputs to other nodes that consume them as inputs.
Fields§
§output_node_id: Option<i64>The pair of IDs identifying the node and output connected by this edge.
output_id: Option<i64>§input_node_id: Option<i64>The pair of IDs identifying the node and input connected by this edge.
input_id: Option<i64>§vendor_data_version: Option<i32>These fields capture vendor-specific additions to this proto message. In
practice vendor_data typically contains a serialized message of the
vendor’s design, and vendor_data_version is incremented each time there
is a backwards incompatible change made to the message.
vendor_data: Option<Vec<u8>>Implementations§
Source§impl CameraEdge
impl CameraEdge
Sourcepub fn output_node_id(&self) -> i64
pub fn output_node_id(&self) -> i64
Returns the value of output_node_id, or the default value if output_node_id is unset.
Sourcepub fn output_id(&self) -> i64
pub fn output_id(&self) -> i64
Returns the value of output_id, or the default value if output_id is unset.
Sourcepub fn input_node_id(&self) -> i64
pub fn input_node_id(&self) -> i64
Returns the value of input_node_id, or the default value if input_node_id is unset.
Sourcepub fn input_id(&self) -> i64
pub fn input_id(&self) -> i64
Returns the value of input_id, or the default value if input_id is unset.
Sourcepub fn vendor_data_version(&self) -> i32
pub fn vendor_data_version(&self) -> i32
Returns the value of vendor_data_version, or the default value if vendor_data_version is unset.
Sourcepub fn vendor_data(&self) -> &[u8] ⓘ
pub fn vendor_data(&self) -> &[u8] ⓘ
Returns the value of vendor_data, or the default value if vendor_data is unset.
Trait Implementations§
Source§impl Clone for CameraEdge
impl Clone for CameraEdge
Source§fn clone(&self) -> CameraEdge
fn clone(&self) -> CameraEdge
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CameraEdge
impl Debug for CameraEdge
Source§impl Default for CameraEdge
impl Default for CameraEdge
Source§fn default() -> CameraEdge
fn default() -> CameraEdge
Source§impl Message for CameraEdge
impl Message for CameraEdge
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 CameraEdge
impl PartialEq for CameraEdge
impl StructuralPartialEq for CameraEdge
Auto Trait Implementations§
impl Freeze for CameraEdge
impl RefUnwindSafe for CameraEdge
impl Send for CameraEdge
impl Sync for CameraEdge
impl Unpin for CameraEdge
impl UnwindSafe for CameraEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].