pub struct SchedulerPickRaw {
pub auth_id: Option<String>,
pub alt_auth_id: Option<String>,
pub delegate: Option<String>,
pub alt_delegate: Option<String>,
pub handled: Option<bool>,
pub alt_handled: Option<bool>,
pub reject: Option<bool>,
pub alt_reject: Option<bool>,
pub reject_reason: Option<String>,
pub alt_reject_reason: Option<String>,
pub reject_code: Option<String>,
pub alt_reject_code: Option<String>,
}Fields§
§auth_id: Option<String>§alt_auth_id: Option<String>§delegate: Option<String>§alt_delegate: Option<String>§handled: Option<bool>§alt_handled: Option<bool>§reject: Option<bool>§alt_reject: Option<bool>§reject_reason: Option<String>§alt_reject_reason: Option<String>§reject_code: Option<String>§alt_reject_code: Option<String>Trait Implementations§
Source§impl Clone for SchedulerPickRaw
impl Clone for SchedulerPickRaw
Source§impl Debug for SchedulerPickRaw
impl Debug for SchedulerPickRaw
Source§impl Default for SchedulerPickRaw
impl Default for SchedulerPickRaw
Source§impl GoJson for SchedulerPickRaw
impl GoJson for SchedulerPickRaw
Source§fn decode_into(&mut self, v: &Node) -> Result<(), DecodeError>
fn decode_into(&mut self, v: &Node) -> Result<(), DecodeError>
json.Unmarshal into an existing value. null resets slices, maps, pointers and
any, and leaves everything else alone.Source§fn is_empty(&self) -> bool
fn is_empty(&self) -> bool
Go
omitempty: false, 0, “”, nil or empty slices and maps, nil pointers. Structs
(including time.Time) are never empty.Source§fn go_type() -> String
fn go_type() -> String
The Go type as decode errors spell it; containers name their element type
(
[]string, map[string]interface {}).Source§fn decode_value(v: &Node) -> Result<Self, DecodeError>
fn decode_value(v: &Node) -> Result<Self, DecodeError>
Decodes a non-null value from scratch. Implement this or
Self::decode_into.Source§const NULL_CLEARS: bool = false
const NULL_CLEARS: bool = false
Whether
null resets the field (slices, maps, pointers, any); scalars and
structs keep their value.Source§impl GoStruct for SchedulerPickRaw
impl GoStruct for SchedulerPickRaw
fn encode_fields(&self, w: &mut ObjWriter<'_>)
Source§fn decode_field(
&mut self,
key: &str,
v: &Node,
) -> Option<Result<(), DecodeError>>
fn decode_field( &mut self, key: &str, v: &Node, ) -> Option<Result<(), DecodeError>>
Decodes
v into the field named key (exact match first, then
case-insensitive). None when no field matches.Source§impl PartialEq for SchedulerPickRaw
impl PartialEq for SchedulerPickRaw
impl StructuralPartialEq for SchedulerPickRaw
Auto Trait Implementations§
impl Forget for SchedulerPickRaw
impl Freeze for SchedulerPickRaw
impl Move for SchedulerPickRaw
impl RefUnwindSafe for SchedulerPickRaw
impl Send for SchedulerPickRaw
impl Sync for SchedulerPickRaw
impl Unpin for SchedulerPickRaw
impl UnsafeUnpin for SchedulerPickRaw
impl UnwindSafe for SchedulerPickRaw
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> 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