pub struct PropertySource {
pub name: String,
pub source: BTreeMap<String, Value>,
}Expand description
A single Spring property source within an Environment.
Fields§
§name: StringProperty source name as reported by Spring Cloud Config.
source: BTreeMap<String, Value>Flat key-value properties from the source.
Trait Implementations§
Source§impl Clone for PropertySource
impl Clone for PropertySource
Source§fn clone(&self) -> PropertySource
fn clone(&self) -> PropertySource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropertySource
impl Debug for PropertySource
Source§impl<'de> Deserialize<'de> for PropertySource
impl<'de> Deserialize<'de> for PropertySource
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
Source§impl PartialEq for PropertySource
impl PartialEq for PropertySource
Source§impl Serialize for PropertySource
impl Serialize for PropertySource
impl StructuralPartialEq for PropertySource
Auto Trait Implementations§
impl Freeze for PropertySource
impl RefUnwindSafe for PropertySource
impl Send for PropertySource
impl Sync for PropertySource
impl Unpin for PropertySource
impl UnsafeUnpin for PropertySource
impl UnwindSafe for PropertySource
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