Struct amadeus::data::DateTimeWithoutTimezone [−][src]
pub struct DateTimeWithoutTimezone { /* fields omitted */ }
Implementations
impl DateTimeWithoutTimezone
[src]
impl DateTimeWithoutTimezone
[src]pub fn new(
year: i64,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
nanosecond: u32
) -> Option<DateTimeWithoutTimezone>
[src]
year: i64,
month: u8,
day: u8,
hour: u8,
minute: u8,
second: u8,
nanosecond: u32
) -> Option<DateTimeWithoutTimezone>
pub fn from_date_time(
date: DateWithoutTimezone,
time: TimeWithoutTimezone
) -> Option<DateTimeWithoutTimezone>
[src]
pub fn from_date_time(
date: DateWithoutTimezone,
time: TimeWithoutTimezone
) -> Option<DateTimeWithoutTimezone>
[src]Create a DateTimeWithoutTimezone from a DateWithoutTimezone
and TimeWithoutTimezone
.
pub fn date(&self) -> DateWithoutTimezone
[src]
pub fn time(&self) -> TimeWithoutTimezone
[src]
pub fn year(&self) -> i64
[src]
pub fn month(&self) -> u8
[src]
pub fn day(&self) -> u8
[src]
pub fn hour(&self) -> u8
[src]
pub fn minute(&self) -> u8
[src]
pub fn second(&self) -> u8
[src]
pub fn nanosecond(&self) -> u32
[src]
pub fn with_timezone(self, timezone: Timezone) -> DateTime
[src]
pub fn truncate_minutes(&self, minutes: u8) -> DateTimeWithoutTimezone
[src]
Trait Implementations
impl AmadeusOrd for DateTimeWithoutTimezone
[src]
impl AmadeusOrd for DateTimeWithoutTimezone
[src]pub fn amadeus_cmp(&self, other: &DateTimeWithoutTimezone) -> Ordering
[src]
impl Clone for DateTimeWithoutTimezone
[src]
impl Clone for DateTimeWithoutTimezone
[src]pub fn clone(&self) -> DateTimeWithoutTimezone
[src]
pub fn clone(&self) -> DateTimeWithoutTimezone
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Data for DateTimeWithoutTimezone
[src]
impl Data for DateTimeWithoutTimezone
[src]type Vec = Vec<DateTimeWithoutTimezone, Global>
type DynamicType = ()
pub fn new_vec(
_type: <DateTimeWithoutTimezone as Data>::DynamicType
) -> <DateTimeWithoutTimezone as Data>::Vec
[src]
_type: <DateTimeWithoutTimezone as Data>::DynamicType
) -> <DateTimeWithoutTimezone as Data>::Vec
impl Data for DateTimeWithoutTimezone
[src]
impl Data for DateTimeWithoutTimezone
[src]impl Debug for DateTimeWithoutTimezone
[src]
impl Debug for DateTimeWithoutTimezone
[src]impl<'de> Deserialize<'de> for DateTimeWithoutTimezone
[src]
impl<'de> Deserialize<'de> for DateTimeWithoutTimezone
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DateTimeWithoutTimezone, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<DateTimeWithoutTimezone, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for DateTimeWithoutTimezone
[src]
impl Display for DateTimeWithoutTimezone
[src]impl DowncastFrom<Value> for DateTimeWithoutTimezone
[src]
impl DowncastFrom<Value> for DateTimeWithoutTimezone
[src]pub fn downcast_from(
self_: Value
) -> Result<DateTimeWithoutTimezone, DowncastError>
[src]
self_: Value
) -> Result<DateTimeWithoutTimezone, DowncastError>
impl From<DateTimeWithoutTimezone> for Value
[src]
impl From<DateTimeWithoutTimezone> for Value
[src]pub fn from(value: DateTimeWithoutTimezone) -> Value
[src]
pub fn from(value: DateTimeWithoutTimezone) -> Value
[src]Performs the conversion.
impl FromStr for DateTimeWithoutTimezone
[src]
impl FromStr for DateTimeWithoutTimezone
[src]type Err = ParseDateError
type Err = ParseDateError
The associated error which can be returned from parsing.
pub fn from_str(
s: &str
) -> Result<DateTimeWithoutTimezone, <DateTimeWithoutTimezone as FromStr>::Err>
[src]
pub fn from_str(
s: &str
) -> Result<DateTimeWithoutTimezone, <DateTimeWithoutTimezone as FromStr>::Err>
[src]Parses a string s
to return a value of this type. Read more
impl Hash for DateTimeWithoutTimezone
[src]
impl Hash for DateTimeWithoutTimezone
[src]impl Ord for DateTimeWithoutTimezone
[src]
impl Ord for DateTimeWithoutTimezone
[src]impl ParquetData for DateTimeWithoutTimezone
[src]
impl ParquetData for DateTimeWithoutTimezone
[src]type Schema = StringSchema
type Reader = impl Reader<Item = DateTimeWithoutTimezone>
type Predicate = Predicate
pub fn parse(
schema: &Type,
_predicate: Option<&<DateTimeWithoutTimezone as ParquetData>::Predicate>,
repetition: Option<Repetition>
) -> Result<(String, <DateTimeWithoutTimezone as ParquetData>::Schema), ParquetError>
[src]
pub fn parse(
schema: &Type,
_predicate: Option<&<DateTimeWithoutTimezone as ParquetData>::Predicate>,
repetition: Option<Repetition>
) -> Result<(String, <DateTimeWithoutTimezone as ParquetData>::Schema), ParquetError>
[src]Parse a [Type
] into Self::Schema
, using repetition
instead of
Type::get_basic_info().repetition()
. A repetition
of None
denotes a root
schema. Read more
pub fn reader(
schema: &<DateTimeWithoutTimezone as ParquetData>::Schema,
path: &mut Vec<String, Global>,
def_level: i16,
rep_level: i16,
paths: &mut HashMap<ColumnPath, ColumnReader, RandomState>,
batch_size: usize
) -> <DateTimeWithoutTimezone as ParquetData>::Reader
[src]
pub fn reader(
schema: &<DateTimeWithoutTimezone as ParquetData>::Schema,
path: &mut Vec<String, Global>,
def_level: i16,
rep_level: i16,
paths: &mut HashMap<ColumnPath, ColumnReader, RandomState>,
batch_size: usize
) -> <DateTimeWithoutTimezone as ParquetData>::Reader
[src]Builds tree of [Reader
]s for the specified [Schema
] recursively.
impl PartialEq<DateTimeWithoutTimezone> for Value
[src]
impl PartialEq<DateTimeWithoutTimezone> for Value
[src]impl PartialEq<DateTimeWithoutTimezone> for DateTimeWithoutTimezone
[src]
impl PartialEq<DateTimeWithoutTimezone> for DateTimeWithoutTimezone
[src]pub fn eq(&self, other: &DateTimeWithoutTimezone) -> bool
[src]
pub fn eq(&self, other: &DateTimeWithoutTimezone) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &DateTimeWithoutTimezone) -> bool
[src]
pub fn ne(&self, other: &DateTimeWithoutTimezone) -> bool
[src]This method tests for !=
.
impl PartialOrd<DateTimeWithoutTimezone> for DateTimeWithoutTimezone
[src]
impl PartialOrd<DateTimeWithoutTimezone> for DateTimeWithoutTimezone
[src]pub fn partial_cmp(&self, other: &DateTimeWithoutTimezone) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &DateTimeWithoutTimezone) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl PostgresData for DateTimeWithoutTimezone
[src]
impl PostgresData for DateTimeWithoutTimezone
[src]impl SerdeData for DateTimeWithoutTimezone
[src]
impl SerdeData for DateTimeWithoutTimezone
[src]pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn deserialize<'de, D>(
deserializer: D,
_schema: Option<SchemaIncomplete>
) -> Result<DateTimeWithoutTimezone, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D,
_schema: Option<SchemaIncomplete>
) -> Result<DateTimeWithoutTimezone, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Serialize for DateTimeWithoutTimezone
[src]
impl Serialize for DateTimeWithoutTimezone
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
impl Copy for DateTimeWithoutTimezone
[src]
impl Eq for DateTimeWithoutTimezone
[src]
impl StructuralEq for DateTimeWithoutTimezone
[src]
impl StructuralPartialEq for DateTimeWithoutTimezone
[src]
Auto Trait Implementations
impl RefUnwindSafe for DateTimeWithoutTimezone
impl Send for DateTimeWithoutTimezone
impl Sync for DateTimeWithoutTimezone
impl Unpin for DateTimeWithoutTimezone
impl UnwindSafe for DateTimeWithoutTimezone
Blanket Implementations
impl<T> Any for T where
T: Any + Serialize + Deserialize,
[src]
impl<T> Any for T where
T: Any + Serialize + Deserialize,
[src]impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]
impl<A, B> Downcast<A> for B where
A: DowncastFrom<B>,
[src]pub fn downcast(self) -> Result<A, DowncastError>
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Type for T where
T: ?Sized,
[src]
impl<T> Type for T where
T: ?Sized,
[src]pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub default fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]
pub default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]
pub default fn fatten(thin: *mut (), t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
type Meta: 'static
type Meta: 'static
Type of metadata for type.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<T> Type for T
[src]
impl<T> Type for T
[src]pub fn meta(self: *const T) -> <T as Type>::Meta
[src]
pub fn meta(self: *const T) -> <T as Type>::Meta
[src]Retrieve TraitObject
, Slice
or Concrete
meta data respectively for a type
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]
pub fn dangling(_t: <T as Type>::Meta) -> NonNull<T>
[src]Create a dangling non-null *const Self
with the provided Self::Meta
.
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]
pub fn fatten(thin: *mut (), _t: <T as Type>::Meta) -> *mut T
[src]Create a *mut Self
with the provided Self::Meta
.
fn meta_type(self: *const Self) -> MetaType
[src]
fn meta_type(self: *const Self) -> MetaType
[src]Helper method describing whether a type is TraitObject
, Slice
or Concrete
.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> Debug for T where
T: Debug + Serialize + Deserialize + ?Sized,
[src]
T: Debug + Serialize + Deserialize + ?Sized,
impl<T> Deserialize for T where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Display for T where
T: Display + Serialize + Deserialize + ?Sized,
[src]
T: Display + Serialize + Deserialize + ?Sized,
impl<T> ProcessSend for T where
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
[src]
T: Send + Serialize + for<'de> Deserialize<'de> + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,