pub struct OnboardingStep { /* private fields */ }Expand description
OnboardingStep : Dictionary containing details of a single onboarding step.
Modified from openapi-generator-cli output:
$ openapi-generator-cli generate -g rust -i ./zerver/openapi/zulip.yaml -o zulip-openapi --skip-validate-spec/*
* Zulip REST API
*
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/See zerver/openapi/zulip.yaml for the original OpenAPI configuration.
Configuration slightly modified to work with the Rust generator of openapi-generator-cli.
Implementations§
Source§impl OnboardingStep
impl OnboardingStep
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new OnboardingStep.
Source§impl OnboardingStep
impl OnboardingStep
Sourcepub const fn onboarding_type(&self) -> Option<OnboardingType>
pub const fn onboarding_type(&self) -> Option<OnboardingType>
Gets the OnboardingStep onboarding_type.
The type of the onboarding step.
Sourcepub fn set_onboarding_type(&mut self, val: OnboardingType)
pub fn set_onboarding_type(&mut self, val: OnboardingType)
Sets the OnboardingStep onboarding_type.
The type of the onboarding step.
Sourcepub fn unset_onboarding_type(&mut self) -> Option<OnboardingType>
pub fn unset_onboarding_type(&mut self) -> Option<OnboardingType>
Unsets the OnboardingStep onboarding_type.
The type of the onboarding step.
Sourcepub fn with_onboarding_type(self, val: OnboardingType) -> Self
pub fn with_onboarding_type(self, val: OnboardingType) -> Self
Builder function that sets the OnboardingStep onboarding_type.
The type of the onboarding step.
Source§impl OnboardingStep
impl OnboardingStep
Sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
Gets the OnboardingStep name.
The name of the onboarding step.
Sourcepub fn set_name<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
pub fn set_name<'a, C: Into<Cow<'a, str>>>(&mut self, val: C)
Sets the OnboardingStep name.
The name of the onboarding step.
Sourcepub fn unset_name(&mut self) -> Option<String>
pub fn unset_name(&mut self) -> Option<String>
Unsets the OnboardingStep name.
The name of the onboarding step.