pub fn update<T: Serialize + ?Sized>(
r: &mut Resource,
source: &T,
) -> Result<(), Error>Expand description
Updates a composite or composed resource from any serializable source.
The source must serialize to a JSON object, for example a
serde_json::json! literal or a typed struct deriving Serialize. Top
level fields that already exist are overwritten and fields that do not
exist are added, like a map update. Include only the fields this function
has an opinion about: Crossplane treats desired state as server-side
apply intent.