pub struct NewSinkholeList {
pub list_type: SinkholeListType,
pub name: Option<String>,
pub is_shared: Option<bool>,
pub link_to: Vec<Uuid>,
}Expand description
POST /sinkhole-lists body. A list starts without rules; add them with
SinkholeRoles::create.
Fields§
§list_type: SinkholeListTypeBlacklist or whitelist.
name: Option<String>Optional label, 1–100 characters (Core trims it).
Whether other users may link to it; Core uses false when None.
link_to: Vec<Uuid>The caller’s own client identities to link the new list to, in the same transaction (at most 100). Empty: no links.
Trait Implementations§
Source§impl Clone for NewSinkholeList
impl Clone for NewSinkholeList
Source§fn clone(&self) -> NewSinkholeList
fn clone(&self) -> NewSinkholeList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewSinkholeList
impl Debug for NewSinkholeList
Auto Trait Implementations§
impl Freeze for NewSinkholeList
impl RefUnwindSafe for NewSinkholeList
impl Send for NewSinkholeList
impl Sync for NewSinkholeList
impl Unpin for NewSinkholeList
impl UnsafeUnpin for NewSinkholeList
impl UnwindSafe for NewSinkholeList
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