Struct rippling_api::types::LevelRequest
source · pub struct LevelRequest {
pub name: String,
pub parent_id: Option<String>,
pub global_level: Option<i64>,
pub description: Option<String>,
pub rank: Option<i64>,
pub track_id: Option<String>,
}Expand description
Fields§
§name: StringThe name of the level. Must be unique within the company or organization.
parent_id: Option<String>The parent level.
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.
Trait Implementations§
source§impl Clone for LevelRequest
impl Clone for LevelRequest
source§fn clone(&self) -> LevelRequest
fn clone(&self) -> LevelRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LevelRequest
impl Debug for LevelRequest
source§impl<'de> Deserialize<'de> for LevelRequest
impl<'de> Deserialize<'de> for LevelRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for LevelRequest
impl Display for LevelRequest
source§impl JsonSchema for LevelRequest
impl JsonSchema for LevelRequest
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq for LevelRequest
impl PartialEq for LevelRequest
source§impl Serialize for LevelRequest
impl Serialize for LevelRequest
source§impl Tabled for LevelRequest
impl Tabled for LevelRequest
impl StructuralPartialEq for LevelRequest
Auto Trait Implementations§
impl Freeze for LevelRequest
impl RefUnwindSafe for LevelRequest
impl Send for LevelRequest
impl Sync for LevelRequest
impl Unpin for LevelRequest
impl UnwindSafe for LevelRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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