pub struct AddNodesToGroupResponse {
pub added: Vec<String>,
pub final_members: Vec<String>,
pub removed: Vec<String>,
}Expand description
Response body for POST /api/v1/groups/{name}/members.
The removed field name is retained for wire stability; its value
is the final, sorted membership of the group after the update —
not a list of removed nodes.
Fields§
§added: Vec<String>Xnames that were added to the group as part of this request.
final_members: Vec<String>Final, sorted membership of the group after the update.
removed: Vec<String>Deprecated alias for Self::final_members. Carries the same
value so existing clients reading removed keep working for one
release; new clients should read final_members. Scheduled for
removal in the next major bump — at which point the
#[serde(alias = "removed")] on final_members keeps inbound
compatibility for anyone POSTing back the old name.
Trait Implementations§
Source§impl ComposeSchema for AddNodesToGroupResponse
impl ComposeSchema for AddNodesToGroupResponse
Source§impl Debug for AddNodesToGroupResponse
impl Debug for AddNodesToGroupResponse
Source§impl<'de> Deserialize<'de> for AddNodesToGroupResponse
impl<'de> Deserialize<'de> for AddNodesToGroupResponse
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 Serialize for AddNodesToGroupResponse
impl Serialize for AddNodesToGroupResponse
Auto Trait Implementations§
impl Freeze for AddNodesToGroupResponse
impl RefUnwindSafe for AddNodesToGroupResponse
impl Send for AddNodesToGroupResponse
impl Sync for AddNodesToGroupResponse
impl Unpin for AddNodesToGroupResponse
impl UnwindSafe for AddNodesToGroupResponse
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