UpdateSourceDelta

Struct UpdateSourceDelta 

Source
pub struct UpdateSourceDelta {
Show 21 fields pub enabled: Option<bool>, pub name: Option<String>, pub password: Option<String>, pub pattern: Option<String>, pub private_key: Option<String>, pub ca_cert: Option<String>, pub ssl_ignore_errors: Option<bool>, pub proxy: Option<String>, pub uri: Option<String>, pub username: Option<String>, pub headers: Option<Vec<EnvironmentVariable>>, pub default_classification: Option<ClassificationString>, pub use_managed_identity: Option<bool>, pub git_branch: Option<String>, pub sync: Option<bool>, pub fetch_method: Option<FetchMethods>, pub override_classification: Option<bool>, pub configuration: Option<HashMap<String, Value>>, pub data: Option<Text>, pub update_interval: Option<NonZeroInteger>, pub ignore_cache: Option<bool>,
}

Fields§

§enabled: Option<bool>

REF_UPDATE_SOURCE

§name: Option<String>

REF_UPDATE_SOURCE

§password: Option<String>

REF_UPDATE_SOURCE

§pattern: Option<String>

REF_UPDATE_SOURCE

§private_key: Option<String>

REF_UPDATE_SOURCE

§ca_cert: Option<String>

REF_UPDATE_SOURCE

§ssl_ignore_errors: Option<bool>

REF_UPDATE_SOURCE

§proxy: Option<String>

REF_UPDATE_SOURCE

§uri: Option<String>

REF_UPDATE_SOURCE

§username: Option<String>

REF_UPDATE_SOURCE

§headers: Option<Vec<EnvironmentVariable>>

REF_UPDATE_SOURCE

§default_classification: Option<ClassificationString>

REF_UPDATE_SOURCE

§use_managed_identity: Option<bool>

REF_UPDATE_SOURCE

§git_branch: Option<String>

REF_UPDATE_SOURCE

§sync: Option<bool>

REF_UPDATE_SOURCE

§fetch_method: Option<FetchMethods>

REF_UPDATE_SOURCE

§override_classification: Option<bool>

REF_UPDATE_SOURCE

§configuration: Option<HashMap<String, Value>>

REF_UPDATE_SOURCE

§data: Option<Text>

REF_UPDATE_SOURCE

§update_interval: Option<NonZeroInteger>

REF_UPDATE_SOURCE

§ignore_cache: Option<bool>

REF_UPDATE_SOURCE

Trait Implementations§

Source§

impl Default for UpdateSourceDelta

Source§

fn default() -> UpdateSourceDelta

Returns the “default value” for a type. Read more
Source§

impl Described<ElasticMeta> for UpdateSourceDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl<'de> Deserialize<'de> for UpdateSourceDelta

Source§

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 Serialize for UpdateSourceDelta

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,