pub struct GetLevelsResponse {
pub meta: Option<Meta>,
pub id: String,
pub created_at: String,
pub updated_at: String,
pub name: String,
pub parent_id: Option<String>,
pub parent: Option<Level>,
pub global_level: Option<i64>,
pub description: Option<String>,
pub rank: Option<i64>,
pub track_id: Option<String>,
pub track: Option<Track>,
}
Fields§
§meta: Option<Meta>
§id: String
Identifier field
created_at: String
Record creation date
updated_at: String
Record update date
name: String
The name of the level. Must be unique within the company or organization.
parent_id: Option<String>
The parent level.
parent: Option<Level>
The parent level.
Expandable field
global_level: Option<i64>
Global level is used to track the seniority of levels. The higher up a level is placed on the page, the more senior and higher-ranked the level. Global level is used in workflows, policies, and reports that use the level attribute (e.g., you can use Level Lookup to set up a workflow that notifies the nearest person in an worker’s management chain at or above the specified level).
description: Option<String>
The description of the level.
rank: Option<i64>
The rank of the level within its track.
track_id: Option<String>
The track associated with the level, if it’s not a global level.
track: Option<Track>
The track associated with the level, if it’s not a global level.
Expandable field
Trait Implementations§
Source§impl Clone for GetLevelsResponse
impl Clone for GetLevelsResponse
Source§fn clone(&self) -> GetLevelsResponse
fn clone(&self) -> GetLevelsResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetLevelsResponse
impl Debug for GetLevelsResponse
Source§impl<'de> Deserialize<'de> for GetLevelsResponse
impl<'de> Deserialize<'de> for GetLevelsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for GetLevelsResponse
impl Display for GetLevelsResponse
Source§impl JsonSchema for GetLevelsResponse
impl JsonSchema for GetLevelsResponse
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for GetLevelsResponse
impl PartialEq for GetLevelsResponse
Source§impl Serialize for GetLevelsResponse
impl Serialize for GetLevelsResponse
Source§impl Tabled for GetLevelsResponse
impl Tabled for GetLevelsResponse
impl StructuralPartialEq for GetLevelsResponse
Auto Trait Implementations§
impl Freeze for GetLevelsResponse
impl RefUnwindSafe for GetLevelsResponse
impl Send for GetLevelsResponse
impl Sync for GetLevelsResponse
impl Unpin for GetLevelsResponse
impl UnwindSafe for GetLevelsResponse
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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 moreSource§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.