#[non_exhaustive]pub struct GetFederalRegisterDocumentOptions {
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
}Expand description
Options for Client::get_federal_register_document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.shape: Option<String>Shape selector. When empty, the server returns its detail default, which SHAPE_FEDERAL_REGISTER_COMPREHENSIVE mirrors. Name full_text to get the document’s plain text, which can run to several MB.
flat: boolFlatten nested objects into dot-separated keys.
flat_lists: boolWhen flat=true, also flatten list-valued nested fields.
Implementations§
Source§impl GetFederalRegisterDocumentOptions
impl GetFederalRegisterDocumentOptions
Sourcepub fn builder() -> GetFederalRegisterDocumentOptionsBuilder
pub fn builder() -> GetFederalRegisterDocumentOptionsBuilder
Create an instance of GetFederalRegisterDocumentOptions using the builder syntax
Trait Implementations§
impl Eq for GetFederalRegisterDocumentOptions
impl StructuralPartialEq for GetFederalRegisterDocumentOptions
Auto Trait Implementations§
impl Freeze for GetFederalRegisterDocumentOptions
impl RefUnwindSafe for GetFederalRegisterDocumentOptions
impl Send for GetFederalRegisterDocumentOptions
impl Sync for GetFederalRegisterDocumentOptions
impl Unpin for GetFederalRegisterDocumentOptions
impl UnsafeUnpin for GetFederalRegisterDocumentOptions
impl UnwindSafe for GetFederalRegisterDocumentOptions
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