pub fn build_rss(&self, channel: Option<Channel>, builder: &mut ChannelBuilder) -> Channel {
        match channel {
            Some(mut channel) => {
                let items = self.update_items(channel.items());
                channel.set_items(items);
                channel
            }
            None => builder.items(self.build_items()).build().unwrap(),
        }
    }
/// Creates a Feed bases on either a Channel or a ChannelBuilder
Creates a Feed bases on either a Channel or a ChannelBuilder
Creates a Feed bases on either a Channel or a ChannelBuilder
pub fn build_rss(&self, channel: Option<Channel>, builder: &mut ChannelBuilder) -> Channel {
        match channel {
            Some(mut channel) => {
                let items = self.update_items(channel.items());
                channel.set_items(items);
                channel
            }
            None => builder.items(self.build_items()).build().unwrap(),
        }
    }
pub fn build_rss ( & self , channel : Option < Channel > , builder : & mut ChannelBuilder ) -> Channel { match channel { Some ( mut channel ) => { let items = self . update_items ( channel . items ( ) ) ; channel . set_items ( items ) ; channel } None => builder . items ( self . build_items ( ) ) . build ( ) . unwrap ( ) , } }
Creates a Feed bases on either a Channel or a ChannelBuilder
Creates a Feed bases on either a Channel or a ChannelBuilder
&self
channel
Option<Channel>
builder
&mut ChannelBuilder
&self
channel
Option<Channel>
builder
&mut ChannelBuilder