struct Response {
subject: String,
aliases: Vec<String>,
links: Vec<Link>,
}Expand description
Define structure of the get subject response.
Fields§
§subject: StringSubject for which the response is associated.
aliases: Vec<String>Available aliases associated with the subject.
links: Vec<Link>Links associated with subject.
Implementations§
Trait Implementations§
Source§impl IntoResponse for Response
impl IntoResponse for Response
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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