pub struct RedisOutputs {
pub endpoint: String,
pub port: u16,
}Expand description
Outputs generated by a successfully provisioned Redis server.
Fields§
§endpoint: StringHost the server listens on; never publicly reachable.
port: u16Listening port.
Trait Implementations§
Source§impl Clone for RedisOutputs
impl Clone for RedisOutputs
Source§impl Debug for RedisOutputs
impl Debug for RedisOutputs
Source§impl<'de> Deserialize<'de> for RedisOutputs
impl<'de> Deserialize<'de> for RedisOutputs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RedisOutputs
Source§impl PartialEq for RedisOutputs
impl PartialEq for RedisOutputs
Source§impl ResourceOutputsDefinition for RedisOutputs
impl ResourceOutputsDefinition for RedisOutputs
Source§fn get_resource_type(&self) -> ResourceType
fn get_resource_type(&self) -> ResourceType
Returns the resource type for this instance
Source§fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
fn box_clone(&self) -> Box<dyn ResourceOutputsDefinition>
Creates a boxed clone of this resource outputs
Source§fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
fn outputs_eq(&self, other: &dyn ResourceOutputsDefinition) -> bool
For equality comparison between resource outputs
Source§fn to_json_value(&self) -> Result<Value>
fn to_json_value(&self) -> Result<Value>
Serialize this resource outputs to a JSON value (without the “type” tag - that’s added by ResourceOutputs)
Source§fn is_available(&self) -> bool
fn is_available(&self) -> bool
Whether dependents may reconcile. Temporary unavailability preserves their
identities and controller progress until the dependency recovers.
Source§impl Serialize for RedisOutputs
impl Serialize for RedisOutputs
impl StructuralPartialEq for RedisOutputs
Auto Trait Implementations§
impl Forget for RedisOutputs
impl Freeze for RedisOutputs
impl Move for RedisOutputs
impl RefUnwindSafe for RedisOutputs
impl Send for RedisOutputs
impl Sync for RedisOutputs
impl Unpin for RedisOutputs
impl UnsafeUnpin for RedisOutputs
impl UnwindSafe for RedisOutputs
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.