[−][src]Struct dsf_core::page::PageBuilder
Builder for Page.
Implementations
impl PageBuilder[src]
pub fn id(&mut self, value: Id) -> &mut Self[src]
pub fn application_id(&mut self, value: u16) -> &mut Self[src]
pub fn flags(&mut self, value: Flags) -> &mut Self[src]
pub fn version(&mut self, value: u16) -> &mut Self[src]
pub fn kind(&mut self, value: Kind) -> &mut Self[src]
pub fn info(&mut self, value: PageInfo) -> &mut Self[src]
pub fn body(&mut self, value: Body) -> &mut Self[src]
pub fn issued(&mut self, value: DateTime) -> &mut Self[src]
pub fn expiry(&mut self, value: Option<DateTime>) -> &mut Self[src]
pub fn public_options(&mut self, value: Vec<Options>) -> &mut Self[src]
pub fn private_options(&mut self, value: PrivateOptions) -> &mut Self[src]
pub fn previous_sig(&mut self, value: Option<Signature>) -> &mut Self[src]
pub fn signature(&mut self, value: Option<Signature>) -> &mut Self[src]
pub fn verified(&mut self, value: bool) -> &mut Self[src]
Verified flag
pub fn raw(&mut self, value: Option<Vec<u8>>) -> &mut Self[src]
pub fn _extend(&mut self, value: ()) -> &mut Self[src]
pub fn build(&self) -> Result<Page, String>[src]
impl PageBuilder[src]
pub fn append_public_option(&mut self, o: Options) -> &mut Self[src]
pub fn append_private_option(&mut self, o: Options) -> &mut Self[src]
pub fn valid_for(&mut self, d: Duration) -> &mut Self[src]
Trait Implementations
impl Clone for PageBuilder[src]
fn clone(&self) -> PageBuilder[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for PageBuilder[src]
fn default() -> PageBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for PageBuilder
impl Send for PageBuilder
impl Sync for PageBuilder
impl Unpin for PageBuilder
impl UnwindSafe for PageBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
T: InitializableFromZeroed + ?Sized,
fn clear(&mut self)
impl<T> From<T> for T[src]
impl<T> InitializableFromZeroed for T where
T: Default,
T: Default,
unsafe fn initialize(place: *mut T)
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,