pub struct Items {Show 17 fields
pub tombstone: i32,
pub status: String,
pub previous_status: Option<String>,
pub version: i32,
pub created_date: Option<String>,
pub created_time: Option<String>,
pub updated_date: Option<String>,
pub updated_time: Option<String>,
pub organization_id: Option<String>,
pub created_by: Option<String>,
pub updated_by: Option<String>,
pub deleted_by: Option<String>,
pub requested_by: Option<String>,
pub tags: Vec<String>,
pub id: i32,
pub name: String,
pub description: Option<String>,
}Expand description
Items entity definition
Fields§
§tombstone: i32§status: String§previous_status: Option<String>§version: i32§created_date: Option<String>§created_time: Option<String>§updated_date: Option<String>§updated_time: Option<String>§organization_id: Option<String>§created_by: Option<String>§updated_by: Option<String>§deleted_by: Option<String>§requested_by: Option<String>§id: i32§name: String§description: Option<String>Implementations§
Source§impl Items
impl Items
Sourcepub fn previous_status(&self) -> &str
pub fn previous_status(&self) -> &str
Returns the value of previous_status, or the default value if previous_status is unset.
Sourcepub fn created_date(&self) -> &str
pub fn created_date(&self) -> &str
Returns the value of created_date, or the default value if created_date is unset.
Sourcepub fn created_time(&self) -> &str
pub fn created_time(&self) -> &str
Returns the value of created_time, or the default value if created_time is unset.
Sourcepub fn updated_date(&self) -> &str
pub fn updated_date(&self) -> &str
Returns the value of updated_date, or the default value if updated_date is unset.
Sourcepub fn updated_time(&self) -> &str
pub fn updated_time(&self) -> &str
Returns the value of updated_time, or the default value if updated_time is unset.
Sourcepub fn organization_id(&self) -> &str
pub fn organization_id(&self) -> &str
Returns the value of organization_id, or the default value if organization_id is unset.
Sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
Returns the value of created_by, or the default value if created_by is unset.
Sourcepub fn updated_by(&self) -> &str
pub fn updated_by(&self) -> &str
Returns the value of updated_by, or the default value if updated_by is unset.
Sourcepub fn deleted_by(&self) -> &str
pub fn deleted_by(&self) -> &str
Returns the value of deleted_by, or the default value if deleted_by is unset.
Sourcepub fn requested_by(&self) -> &str
pub fn requested_by(&self) -> &str
Returns the value of requested_by, or the default value if requested_by is unset.
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description, or the default value if description is unset.
Trait Implementations§
Source§impl Message for Items
impl Message for Items
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.impl StructuralPartialEq for Items
Auto Trait Implementations§
impl Freeze for Items
impl RefUnwindSafe for Items
impl Send for Items
impl Sync for Items
impl Unpin for Items
impl UnwindSafe for Items
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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