pub struct HostAuthFileEntry {Show 30 fields
pub id: String,
pub auth_index: String,
pub name: String,
pub auth_type: String,
pub provider: String,
pub label: String,
pub status: String,
pub status_message: String,
pub disabled: bool,
pub unavailable: bool,
pub runtime_only: bool,
pub source: String,
pub path: String,
pub size: i64,
pub mod_time: GoTime,
pub updated_at: GoTime,
pub created_at: GoTime,
pub last_refresh: GoTime,
pub next_retry_after: GoTime,
pub email: String,
pub project_id: String,
pub account_type: String,
pub account: String,
pub priority: i64,
pub note: String,
pub base_url: String,
pub websockets: bool,
pub success: i64,
pub failed: i64,
pub recent_requests: Vec<HostRecentRequestEntry>,
}Fields§
§id: String§auth_index: String§name: String§auth_type: String§provider: String§label: String§status: String§status_message: String§disabled: bool§runtime_only: bool§source: String§path: String§size: i64§mod_time: GoTime§updated_at: GoTime§created_at: GoTime§last_refresh: GoTime§next_retry_after: GoTime§email: String§project_id: String§account_type: String§account: String§priority: i64§note: String§base_url: String§websockets: bool§success: i64§failed: i64§recent_requests: Vec<HostRecentRequestEntry>Trait Implementations§
Source§impl Clone for HostAuthFileEntry
impl Clone for HostAuthFileEntry
Source§impl Debug for HostAuthFileEntry
impl Debug for HostAuthFileEntry
Source§impl Default for HostAuthFileEntry
impl Default for HostAuthFileEntry
Source§impl GoJson for HostAuthFileEntry
impl GoJson for HostAuthFileEntry
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 HostAuthFileEntry
impl GoStruct for HostAuthFileEntry
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 HostAuthFileEntry
impl PartialEq for HostAuthFileEntry
impl StructuralPartialEq for HostAuthFileEntry
Auto Trait Implementations§
impl Freeze for HostAuthFileEntry
impl RefUnwindSafe for HostAuthFileEntry
impl Send for HostAuthFileEntry
impl Sync for HostAuthFileEntry
impl Unpin for HostAuthFileEntry
impl UnsafeUnpin for HostAuthFileEntry
impl UnwindSafe for HostAuthFileEntry
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