pub struct SqlOption {
pub name: ObjectName,
pub value: SqlOptionValue,
}Fields§
§name: ObjectName§value: SqlOptionValueImplementations§
Source§impl SqlOption
impl SqlOption
Sourcepub fn from_secret_ref(name: &str, secret_ref: SecretRefValue) -> Self
pub fn from_secret_ref(name: &str, secret_ref: SecretRefValue) -> Self
Creates an option whose value is a typed secret reference.
Trait Implementations§
impl Eq for SqlOption
impl StructuralPartialEq for SqlOption
Auto Trait Implementations§
impl Freeze for SqlOption
impl RefUnwindSafe for SqlOption
impl Send for SqlOption
impl Sync for SqlOption
impl Unpin for SqlOption
impl UnsafeUnpin for SqlOption
impl UnwindSafe for SqlOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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