pub struct LinkResponseDto {
pub source: String,
pub target: String,
pub kind: &'static str,
pub weight: f32,
pub created_at_unix_nanos: u64,
pub already_existed: bool,
}Expand description
POST /v1/links response.
Fields§
§source: String§target: String§kind: &'static str§weight: f32§created_at_unix_nanos: u64§already_existed: boolTrait Implementations§
Source§impl Debug for LinkResponseDto
impl Debug for LinkResponseDto
Source§impl From<LinkResponse> for LinkResponseDto
impl From<LinkResponse> for LinkResponseDto
Source§fn from(r: LinkResponse) -> Self
fn from(r: LinkResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkResponseDto
impl RefUnwindSafe for LinkResponseDto
impl Send for LinkResponseDto
impl Sync for LinkResponseDto
impl Unpin for LinkResponseDto
impl UnsafeUnpin for LinkResponseDto
impl UnwindSafe for LinkResponseDto
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