pub struct RecordValuePatch {
pub data: Option<String>,
pub geo_routing: Option<bool>,
pub balance_ratio: Option<u16>,
pub host_health: Option<HostHealthMode>,
}Expand description
PATCH /records/:uuid body; None fields are left unchanged. TTL, name and type cannot
be changed here.
Fields§
§data: Option<String>New record data.
geo_routing: Option<bool>§balance_ratio: Option<u16>§host_health: Option<HostHealthMode>See HostHealthMode. Auto needs a health check on the value, otherwise
ErrorCode::Validation. Every mode change resets the
check’s status to UNKNOWN.
Implementations§
Trait Implementations§
Source§impl Clone for RecordValuePatch
impl Clone for RecordValuePatch
Source§fn clone(&self) -> RecordValuePatch
fn clone(&self) -> RecordValuePatch
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 RecordValuePatch
impl Debug for RecordValuePatch
Source§impl Default for RecordValuePatch
impl Default for RecordValuePatch
Source§fn default() -> RecordValuePatch
fn default() -> RecordValuePatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecordValuePatch
impl RefUnwindSafe for RecordValuePatch
impl Send for RecordValuePatch
impl Sync for RecordValuePatch
impl Unpin for RecordValuePatch
impl UnsafeUnpin for RecordValuePatch
impl UnwindSafe for RecordValuePatch
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